diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-10-31 14:00:54 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-10-31 14:00:54 -0700 |
commit | 99f4e29b6aee83d2c219ccedc8a43436379b7a73 (patch) | |
tree | c511fffb04238c2b4209e088e655815b2f749378 | |
parent | 86403f8672d2fb023ff99a6ffe83bb2cc92f1ca2 (diff) | |
download | vyatta-cfg-99f4e29b6aee83d2c219ccedc8a43436379b7a73.tar.gz vyatta-cfg-99f4e29b6aee83d2c219ccedc8a43436379b7a73.zip |
also set broadcast when setting address
-rw-r--r-- | templates/interfaces/ethernet/node.tag/address/node.def | 2 |
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 $(../@)" |