xen/network-route.patch

14 lines
441 B
Diff

Index: xen-3.3.1-testing/tools/examples/network-route
===================================================================
--- xen-3.3.1-testing.orig/tools/examples/network-route
+++ xen-3.3.1-testing/tools/examples/network-route
@@ -21,7 +21,7 @@ dir=$(dirname "$0")
evalVariables "$@"
-netdev=${netdev:-eth${vifnum}}
+netdev=${netdev:-eth0}
echo 1 >/proc/sys/net/ipv4/ip_forward
echo 1 >/proc/sys/net/ipv4/conf/${netdev}/proxy_arp