forked from extern/shorewall_code
More /proc fixes -- cosmetic
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6051 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
3470b8976d
commit
145d33c044
@ -115,9 +115,9 @@ sub setup_route_filtering() {
|
||||
emit 'echo 1 > /proc/sys/net/ipv4/conf/all/rp_filter';
|
||||
|
||||
if ( $config{ROUTE_FILTER} ) {
|
||||
emit 'echo 1 > /proc/sys/net/ipv4/conf/default/rp_filter'
|
||||
emit 'echo 1 > /proc/sys/net/ipv4/conf/default/rp_filter';
|
||||
} else {
|
||||
emit 'echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter'
|
||||
emit 'echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter';
|
||||
}
|
||||
|
||||
emit "[ -n \"\$NOROUTES\" ] || ip route flush cache";
|
||||
|
Loading…
Reference in New Issue
Block a user