Don't enable proxy arp on every interface, just the public one
[invirt/packages/invirt-xen-config.git] / debian / invirt-xen-config.init
index f5e29c3..5741943 100755 (executable)
@@ -23,7 +23,7 @@ do_startup() {
     gen_files
     
     echo 1 >/proc/sys/net/ipv4/ip_forward
-    for i in all default; do
+    for i in $(invirt-getconf xen.iface) default; do
         echo 1 >/proc/sys/net/ipv4/conf/$i/rp_filter
         echo 1 >/proc/sys/net/ipv4/conf/$i/proxy_arp
     done