diff options
author | Bill Nottingham <notting@redhat.com> | 2008-09-04 08:59:55 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2008-09-04 08:59:55 -0400 |
commit | 641149c88429ad66fe233a02fc48d5eb13a4c4b5 (patch) | |
tree | 7a6802f4dcd5b78ddd82b6892640f490e8a2f527 /sysconfig/network-scripts | |
parent | b4a2679dfeee219db109dd1259e3519263ed4773 (diff) | |
download | initscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.tar initscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.tar.gz initscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.tar.bz2 initscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.tar.xz initscripts-641149c88429ad66fe233a02fc48d5eb13a4c4b5.zip |
Change how we set the zeroconf route. (#239609)
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index fa430f7f..ee8a42d4 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -293,7 +293,7 @@ fi # Add Zeroconf route. if [ -z "${NOZEROCONF}" -a "${ISALIAS}" = "no" -a "${REALDEVICE}" != "lo" ]; then - ip route replace 169.254.0.0/16 dev ${REALDEVICE} + ip route add 169.254.0.0/16 dev ${REALDEVICE} metric $((1000 + $(cat /sys/class/net/${REALDEVICE}/ifindex)) scope link fi # IPv6 initialisation? |