summaryrefslogtreecommitdiff
path: root/zebra/ioctl.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2007-04-10 19:43:43 +0000
committerPaul Jakma <paul.jakma@sun.com>2007-04-10 19:43:43 +0000
commitf5e004f74fecaf84b50f8c1823432077ad7e15b7 (patch)
treebffb42983f6b993c861ac67192646ed82db9fc1f /zebra/ioctl.c
parent6e4ab12f1504caa95edc7702a82f118d0de15a0a (diff)
[zebra] MTU change should propogate to zserv client on BSD/Solaris
2007-04-10 Paul Jakma <paul.jakma@sun.com> * ioctl{_solaris,}.c: (if_get_mtu) Ping clients via zebra_interface_up_update if MTU is changed.
Diffstat (limited to 'zebra/ioctl.c')
-rw-r--r--zebra/ioctl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/ioctl.c b/zebra/ioctl.c
index 06be5bec..ccb927ac 100644
--- a/zebra/ioctl.c
+++ b/zebra/ioctl.c
@@ -155,6 +155,9 @@ if_get_mtu (struct interface *ifp)
ifp->mtu6 = ifp->mtu = ifreq.ifr_mtu;
#endif /* SUNOS_5 */
+ /* propogate */
+ zebra_interface_up_update(ifp);
+
#else
zlog (NULL, LOG_INFO, "Can't lookup mtu on this system");
ifp->mtu6 = ifp->mtu = -1;