diff options
author | Denis Ovsienko <linux@pilot.org.ua> | 2007-08-21 18:15:39 +0200 |
---|---|---|
committer | Denis Ovsienko <linux@pilot.org.ua> | 2007-08-21 18:15:39 +0200 |
commit | 1ba27564f3852083839bfa1f91889cb46c780f2f (patch) | |
tree | 52dba3326d078a18f74db335b567bab13f394eff /zebra/kernel_socket.c | |
parent | Fixed ioctl_solaris.c:if_get_mtu() for IPv6'less operation (diff) | |
download | frr-1ba27564f3852083839bfa1f91889cb46c780f2f.tar.xz frr-1ba27564f3852083839bfa1f91889cb46c780f2f.zip |
Looks like bug #320 is finally fixed now.
Diffstat (limited to 'zebra/kernel_socket.c')
-rw-r--r-- | zebra/kernel_socket.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index 9d2310b9f..ff858bd3d 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -472,6 +472,15 @@ ifm_read (struct if_msghdr *ifm) if_delete_update (ifp); } #endif /* RTM_IFANNOUNCE */ + if (if_is_up (ifp)) + { +#if defined(__bsdi__) + if_kvm_get_mtu (ifp); +#else + if_get_mtu (ifp); +#endif /* __bsdi__ */ + if_get_metric (ifp); + } } #ifdef HAVE_NET_RT_IFLIST |