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:
teastep 2007-04-21 16:32:23 +00:00
parent 3470b8976d
commit 145d33c044

View File

@ -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";