summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/net/if.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 1ae6f06..a2834ad 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -848,8 +848,10 @@ ifioctl(so, cmd, data, p)
if (ifr->ifr_mtu < IF_MINMTU || ifr->ifr_mtu > IF_MAXMTU)
return (EINVAL);
error = (*ifp->if_ioctl)(ifp, cmd, data);
- if (error == 0)
+ if (error == 0) {
getmicrotime(&ifp->if_lastchange);
+ rt_ifmsg(ifp);
+ }
/*
* If the link MTU changed, do network layer specific procedure.
*/
OpenPOWER on IntegriCloud