forked from extern/shorewall_code
A fix for LOG_MARTIANS
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6049 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
27f8d1d2f3
commit
ae70b89fc5
@ -147,6 +147,9 @@ sub setup_martian_logging() {
|
||||
if ( $config{LOG_MARTIANS} ) {
|
||||
emit 'echo 1 > /proc/sys/net/ipv4/conf/all/log_martians';
|
||||
emit 'echo 1 > /proc/sys/net/ipv4/conf/default/log_martians';
|
||||
} else {
|
||||
emit 'echo 0 > /proc/sys/net/ipv4/conf/all/log_martians';
|
||||
emit 'echo 0 > /proc/sys/net/ipv4/conf/default/log_martians';
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user