diff options
author | Alex Harpin <development@landsofshadow.co.uk> | 2014-09-07 19:10:48 +0100 |
---|---|---|
committer | Alex Harpin <development@landsofshadow.co.uk> | 2014-09-07 19:10:48 +0100 |
commit | 7102d1e9b9c6b928bd4661849e9ab55fd5429e7c (patch) | |
tree | 95ce387f80bfd8c71af5b506cfc2783e8b8dc160 /src | |
parent | d095d3b8cc04b2eb52e3617c056fb0af40d8307d (diff) | |
download | vyatta-cfg-system-7102d1e9b9c6b928bd4661849e9ab55fd5429e7c.tar.gz vyatta-cfg-system-7102d1e9b9c6b928bd4661849e9ab55fd5429e7c.zip |
vyatta-cfg-system: allow interfaces with dhcp addresses to be deleted
Update the checks in scripts/vyatta-address to allow the deletetion of
an interface that has a DHCP address. The patch put in place for
Bug #259 (http://bugzilla.vyos.net/show_bug.cgi?id=259) checks that an
interface exists before preceding with the delete, but this chokes when
supplied with the address 'dhcp'.
This patch checks if the supplied interface is a DHCP address, before
extracting the IP address and then using that address for the check.
Bug #305 http://bugzilla.vyos.net/show_bug.cgi?id=305
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions