From 4a319dd3a0aa95a92067fa677ad2e5d94534044b Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Tue, 25 Jan 2011 11:28:35 +1000 Subject: Pass interface name correctly when deleting dhcpv6 Bug 6726 Typo in vyatta-address script conversion from perl to shell --- scripts/vyatta-address | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vyatta-address b/scripts/vyatta-address index 2e521c26..94fb1c59 100755 --- a/scripts/vyatta-address +++ b/scripts/vyatta-address @@ -32,7 +32,7 @@ case $1 in exec /opt/vyatta/sbin/vyatta-interfaces.pl --dev="$2" --dhcp=stop elif [[ "$3" = "dhcpv6" ]] then - exec /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --ifname $ifname + exec /opt/vyatta/sbin/vyatta-dhcpv6-client.pl --stop --ifname "$2" elif [[ "$3" =~ ":" ]] then exec ip -6 addr del "$3" dev "$2" -- cgit v1.2.3