diff options
author | rbalocca <rbalocca@vyatta.com> | 2008-04-21 16:31:28 -0700 |
---|---|---|
committer | rbalocca <rbalocca@vyatta.com> | 2008-04-21 16:31:28 -0700 |
commit | 03ff62cbd29e8b2f0fef9616c3fbacb39190e3d0 (patch) | |
tree | 4fae73e37366d87f735ca4857841a5dd65834e4a /scripts/vyatta-interfaces.pl | |
parent | 6ec19ddffc7ff6d8806a913314ceee6565d132c9 (diff) | |
parent | 7fd560b72df1b327b4b47a6232dfcf16d6fae52c (diff) | |
download | vyatta-cfg-03ff62cbd29e8b2f0fef9616c3fbacb39190e3d0.tar.gz vyatta-cfg-03ff62cbd29e8b2f0fef9616c3fbacb39190e3d0.zip |
Merge branch 'glendale' into hollywood
Diffstat (limited to 'scripts/vyatta-interfaces.pl')
-rwxr-xr-x | scripts/vyatta-interfaces.pl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl index 28b1c14..abbf6a8 100755 --- a/scripts/vyatta-interfaces.pl +++ b/scripts/vyatta-interfaces.pl @@ -319,7 +319,10 @@ sub update_eth_addrs { } if ($version == 4) { - return system("ip addr add $addr broadcast + dev $intf"); + # 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"); } if ($version == 6) { return system("ip -6 addr add $addr dev $intf"); |