From f5e004f74fecaf84b50f8c1823432077ad7e15b7 Mon Sep 17 00:00:00 2001 From: Paul Jakma Date: Tue, 10 Apr 2007 19:43:43 +0000 Subject: [zebra] MTU change should propogate to zserv client on BSD/Solaris 2007-04-10 Paul Jakma * ioctl{_solaris,}.c: (if_get_mtu) Ping clients via zebra_interface_up_update if MTU is changed. --- zebra/ioctl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zebra/ioctl.c') 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; -- cgit v1.2.1