From 641149c88429ad66fe233a02fc48d5eb13a4c4b5 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 4 Sep 2008 08:59:55 -0400 Subject: Change how we set the zeroconf route. (#239609) --- sysconfig/network-scripts/ifup-eth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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? -- cgit v1.2.1