summaryrefslogtreecommitdiff
path: root/interface-templates/ip/enable-arp-accept/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'interface-templates/ip/enable-arp-accept/node.def')
-rw-r--r--interface-templates/ip/enable-arp-accept/node.def3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-templates/ip/enable-arp-accept/node.def b/interface-templates/ip/enable-arp-accept/node.def
new file mode 100644
index 00000000..d5413737
--- /dev/null
+++ b/interface-templates/ip/enable-arp-accept/node.def
@@ -0,0 +1,3 @@
+help: Enable arp-accept on this interface
+create:expression: "sudo sh -c \"echo 1 > /proc/sys/net/ipv4/conf/$IFNAME/arp_accept\" "
+delete:expression: "sudo sh -c \"echo 0 > /proc/sys/net/ipv4/conf/$IFNAME/arp_accept\" "