patch-2.3.49 linux/net/core/rtnetlink.c
Next file: linux/net/core/sock.c
Previous file: linux/net/core/netfilter.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Feb 27 18:45:10 2000
- Orig file:
v2.3.48/linux/net/core/rtnetlink.c
- Orig date:
Sun Feb 20 21:12:40 2000
diff -u --recursive --new-file v2.3.48/linux/net/core/rtnetlink.c linux/net/core/rtnetlink.c
@@ -171,7 +171,7 @@
r->ifi_flags = dev->flags;
r->ifi_change = change;
- if (! netif_running(dev))
+ if (!netif_running(dev) || !netif_carrier_ok(dev))
r->ifi_flags &= ~IFF_RUNNING;
else
r->ifi_flags |= IFF_RUNNING;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)