summaryrefslogtreecommitdiffstats
path: root/zebra/ioctl.c
diff options
context:
space:
mode:
authorpaul <paul>2007-04-10 19:43:43 +0000
committerpaul <paul>2007-04-10 19:43:43 +0000
commitdffe9094e80837d1f7bd68e124a891dd9e4f1d9f (patch)
tree44f8ba74bedac8fcc70556fb8f1e888e5e85a353 /zebra/ioctl.c
parentc241e394181c4fa82d8f2cb6319f2003283ef8bf (diff)
downloadquagga-dffe9094e80837d1f7bd68e124a891dd9e4f1d9f.tar.bz2
quagga-dffe9094e80837d1f7bd68e124a891dd9e4f1d9f.tar.xz
[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;