aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/obsolete/netbase/netbase/busybox.patch
blob: 845bb421eda286c36bdbed0c2511d077dd8e6f1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- netbase-3.18.orig/debian/networking.init.d~busybox
+++ netbase-3.18.orig/debian/networking.init.d
@@ -15,8 +15,8 @@
     # spoof protection on all current and future interfaces.
     
     if [ -e /proc/sys/net/ipv4/conf/all/rp_filter ]; then
-        for f in /proc/sys/net/ipv4/conf/*/rp_filter; do
-            echo 1 > $f
+        for f in /proc/sys/net/ipv4/conf/*; do
+            echo 1 > $f/rp_filter
         done
         return 0
     else