diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-04-23 16:48:58 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-04-23 16:48:58 -0700 |
commit | cc6a74dde28945cdc72ac4081500a05ad3805795 (patch) | |
tree | edabd7b293e8ff240e72c0e37626f377f7012ff5 /scripts | |
parent | b0dd3c96c5e30077a602082c829d4bccf7795252 (diff) | |
download | vyatta-cfg-cc6a74dde28945cdc72ac4081500a05ad3805795.tar.gz vyatta-cfg-cc6a74dde28945cdc72ac4081500a05ad3805795.zip |
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.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-interfaces.pl | 5 |
1 files changed, 1 insertions, 4 deletions
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"); |