summaryrefslogtreecommitdiff
path: root/scripts/vyatta-address
AgeCommit message (Collapse)Author
2019-05-20[interfaces] T1387: Fix removal of DHCP interface w/o assigned addressChristian Poessinger
If a DHCP interface fails to get an IP address, deleting the interface results in a bash script error.
2019-04-29T1359: Bugfix handling VLAN interfaces on DHCP -> static address changeChristian Poessinger
Changing VLAN interface address from DHCP to static is not handeled in vyatta-address script as VLAN interfaces are called e.g. eth0.201 or br0.10 and dhclient replaces the '.' by '_', this was not handeled.
2018-11-29Fix: T1053 - Error when re-configuring an interface from DHCP to static IPhagbard
2018-11-05T288: normalize IP(v6) addresses before passing them to iproute2.Daniil Baturin
2018-08-25T797: add sudo to ip command calls in other interface types.Daniil Baturin
2016-02-09Use directory /var/lib/dhcp instead of /var/lib/dhcp3.Kim Hagen
Use directory /etc/dhcp instead of /etc/dhcp3.
2014-10-09vyatta-cfg-system: allow dhcp and dhcpv6 addresses to be deletedAlex Harpin
Allow interfaces with either dhcp or dhcpv6 addresses to be deleted. Expand on the previous patch for Bug #305 to now take dhcpv6 addresses into account, as well as an update to the original dhcp logic. Bug #341 http://bugzilla.vyos.net/show_bug.cgi?id=341
2014-09-07vyatta-cfg-system: allow interfaces with dhcp addresses to be deletedAlex Harpin
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
2014-09-07vyatta-cfg-system: formatting changes for style consistencyAlex Harpin
Update scripts/vyatta-address to have consistent identation levels and style throughout.
2014-07-25Bug #259: do not try to remove addresses that don't exist.Daniil Baturin
2012-08-30Bugfix 6967: Test if an address is already applied to an interface before ↵John Southworth
attempting to apply it
2011-01-25Pass interface name correctly when deleting dhcpv6Stephen Hemminger
Bug 6726 Typo in vyatta-address script conversion from perl to shell (cherry picked from commit 4a319dd3a0aa95a92067fa677ad2e5d94534044b)
2010-11-23Make scripts executableStephen Hemminger
2010-11-22Use script vyatta-address to set interfaceStephen Hemminger
Avoid the overhead of perl compilation of vyatta-interfaces for each address added. Handle the case of deleting address on deleted device cleanly. Clean up dhcpv6 script so it can be used on interfaces other than ethernet.