summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-31 14:00:54 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-31 14:00:54 -0700
commit99f4e29b6aee83d2c219ccedc8a43436379b7a73 (patch)
treec511fffb04238c2b4209e088e655815b2f749378
parent86403f8672d2fb023ff99a6ffe83bb2cc92f1ca2 (diff)
downloadvyatta-cfg-99f4e29b6aee83d2c219ccedc8a43436379b7a73.tar.gz
vyatta-cfg-99f4e29b6aee83d2c219ccedc8a43436379b7a73.zip
also set broadcast when setting address
-rw-r--r--templates/interfaces/ethernet/node.tag/address/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/ethernet/node.tag/address/node.def b/templates/interfaces/ethernet/node.tag/address/node.def
index 37fa224..e654928 100644
--- a/templates/interfaces/ethernet/node.tag/address/node.def
+++ b/templates/interfaces/ethernet/node.tag/address/node.def
@@ -1,5 +1,5 @@
multi:
type: ipv4net
help: "Set IPv4 address and prefix for this interface"
-update: "sudo ip addr add $(@) dev $(../@)"; "error setting address $(@) on dev $(../@)"
+update: "sudo ip addr add $(@) broadcast + dev $(../@)"; "error setting address $(@) on dev $(../@)"
delete: "sudo ip addr del $(@) dev $(../@)"; "error deleting address $(@) on dev $(../@)"