From cc6a74dde28945cdc72ac4081500a05ad3805795 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 23 Apr 2008 16:48:58 -0700 Subject: Remove hack to cycle state for static routes This should no longer be needed Revert "cycle interface state on IP address assigment to fix static routes" This reverts commit b0dd3c96c5e30077a602082c829d4bccf7795252. --- scripts/vyatta-interfaces.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'scripts/vyatta-interfaces.pl') diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl index abbf6a8..28b1c14 100755 --- a/scripts/vyatta-interfaces.pl +++ b/scripts/vyatta-interfaces.pl @@ -319,10 +319,7 @@ sub update_eth_addrs { } if ($version == 4) { - # revert this gruesome hack when quagga static route initialization - # is fixed. - #return system("ip addr add $addr broadcast + dev $intf"); - return system("ip link set $intf down; ip link set $intf up; ip addr add $addr broadcast + dev $intf"); + return system("ip addr add $addr broadcast + dev $intf"); } if ($version == 6) { return system("ip -6 addr add $addr dev $intf"); -- cgit v1.2.3