diff options
Diffstat (limited to 'meta/packages/netbase/netbase/busybox.patch')
-rw-r--r-- | meta/packages/netbase/netbase/busybox.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/netbase/netbase/busybox.patch b/meta/packages/netbase/netbase/busybox.patch new file mode 100644 index 0000000000..845bb421ed --- /dev/null +++ b/meta/packages/netbase/netbase/busybox.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | --- netbase-3.18.orig/debian/networking.init.d~busybox | ||
2 | +++ netbase-3.18.orig/debian/networking.init.d | ||
3 | @@ -15,8 +15,8 @@ | ||
4 | # spoof protection on all current and future interfaces. | ||
5 | |||
6 | if [ -e /proc/sys/net/ipv4/conf/all/rp_filter ]; then | ||
7 | - for f in /proc/sys/net/ipv4/conf/*/rp_filter; do | ||
8 | - echo 1 > $f | ||
9 | + for f in /proc/sys/net/ipv4/conf/*; do | ||
10 | + echo 1 > $f/rp_filter | ||
11 | done | ||
12 | return 0 | ||
13 | else | ||