mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-28 16:39:29 +01:00
Fix typo in log_martian processing
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1674 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a7bddd94f9
commit
e497a269bf
@ -5899,7 +5899,7 @@ add_common_rules() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
for interface in $interfaces; do
|
for interface in $interfaces; do
|
||||||
file=proc/sys/net/ipv4/conf/$interface/log_martians
|
file=/proc/sys/net/ipv4/conf/$interface/log_martians
|
||||||
if [ -f $file ]; then
|
if [ -f $file ]; then
|
||||||
run_and_save_command "echo 1 > $file"
|
run_and_save_command "echo 1 > $file"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user