summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/firewall/broadcast-ping/node.def10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/firewall/broadcast-ping/node.def b/templates/firewall/broadcast-ping/node.def
index 594786c..3cf7e00 100644
--- a/templates/firewall/broadcast-ping/node.def
+++ b/templates/firewall/broadcast-ping/node.def
@@ -12,23 +12,23 @@ syntax:expression: $VAR(@) in "enable", "disable"; "broadcast-ping must be enabl
create:
if [ x$VAR(@) == xenable ]; then
- sudo sh -c "echo 1 > \
+ sudo sh -c "echo 0 > \
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts"
else
- sudo sh -c "echo 0 > \
+ sudo sh -c "echo 1 > \
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts"
fi
update:
if [ x$VAR(@) == xenable ]; then
- sudo sh -c "echo 1 > \
+ sudo sh -c "echo 0 > \
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts"
else
- sudo sh -c "echo 0 > \
+ sudo sh -c "echo 1 > \
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts"
fi
delete:
- sudo sh -c "echo 0 > \
+ sudo sh -c "echo 1 > \
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts"