summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-08-30 08:26:38 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-08-30 08:26:38 +0000
commit01d0d701d42d9c491f4b21763c2ddc874e9a2eef (patch)
treee1338ad3cd644cb56d676c4b8642835e63469af0
parentc620e1128d8c6a48d74467e671575c1c55b3a608 (diff)
downloadvyatta-op-01d0d701d42d9c491f4b21763c2ddc874e9a2eef.tar.gz
vyatta-op-01d0d701d42d9c491f4b21763c2ddc874e9a2eef.zip
allowed values for dhcp release/renew should show bridges as well if configured to use dhcp
-rw-r--r--templates/release/dhcp/interface/node.tag/node.def2
-rw-r--r--templates/renew/dhcp/interface/node.tag/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/release/dhcp/interface/node.tag/node.def b/templates/release/dhcp/interface/node.tag/node.def
index 2fadea2..85773b6 100644
--- a/templates/release/dhcp/interface/node.tag/node.def
+++ b/templates/release/dhcp/interface/node.tag/node.def
@@ -1,7 +1,7 @@
help: Release DHCP IP address lease for specified interface
allowed:
local -a array ;
- array=( /var/lib/dhcp3/eth* ) ;
+ array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* ) ;
echo -n ${array[@]##*/}
run:
diff --git a/templates/renew/dhcp/interface/node.tag/node.def b/templates/renew/dhcp/interface/node.tag/node.def
index 9952a49..9e6c037 100644
--- a/templates/renew/dhcp/interface/node.tag/node.def
+++ b/templates/renew/dhcp/interface/node.tag/node.def
@@ -1,7 +1,7 @@
help: Renew DHCP IP address lease for specified interface
allowed:
local -a array ;
- array=( /var/lib/dhcp3/eth* ) ;
+ array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* ) ;
echo -n ${array[@]##*/}
run: