[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] tools/hotplug: Fix proxy arp messing about to use correct device
# HG changeset patch # User Michael Young <m.a.young@xxxxxxxxxxxx> # Date 1296587788 0 # Node ID 5748a27b388d6799063e9f12cc4611ec7cd3f73a # Parent 3edd21ffe407ac0e853d51aa8302d9bdb4068749 tools/hotplug: Fix proxy arp messing about to use correct device Fix an anomaly in /etc/xen/scripts/network-route. Currently this script contains netdev=${netdev:-eth${vifnum}} ie. netdev is set to eth${vifnum} by default. Unfortunately vifnum is not set anywhere in the xen code so the default is actually the broken "eth". And anyway the vif number (which is what vifnum ought to be) is not relevant. The patch changes the default to eth0 (which is what the comment at the top of the file says it should be). Signed-off-by: Michael Young <m.a.young@xxxxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/hotplug/Linux/network-route | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 3edd21ffe407 -r 5748a27b388d tools/hotplug/Linux/network-route --- a/tools/hotplug/Linux/network-route Tue Feb 01 19:10:56 2011 +0000 +++ b/tools/hotplug/Linux/network-route Tue Feb 01 19:16:28 2011 +0000 @@ -22,7 +22,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 _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |