diff options
author | Rainer Giedat <rainer@cvs.openbsd.org> | 2009-06-06 12:31:18 +0000 |
---|---|---|
committer | Rainer Giedat <rainer@cvs.openbsd.org> | 2009-06-06 12:31:18 +0000 |
commit | cfe4fea0caf4150f011cd4f4ebb3201544b34da7 (patch) | |
tree | 36b6892682a176a1b4fcddd19fb5c974c8cc9046 /sys/net/if.c | |
parent | 89874b996b9fb501bd014bb5dce3122c235936e4 (diff) |
when xflags got changed, tell the userland by routing sockets
ok henning@
Diffstat (limited to 'sys/net/if.c')
-rw-r--r-- | sys/net/if.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index f12eb449425..b6311d511e3 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.195 2009/06/05 03:10:28 halex Exp $ */ +/* $OpenBSD: if.c,v 1.196 2009/06/06 12:31:17 rainer Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -1312,6 +1312,7 @@ ifioctl(struct socket *so, u_long cmd, caddr_t data, struct proc *p) ifp->if_xflags = (ifp->if_xflags & IFXF_CANTCHANGE) | (ifr->ifr_flags &~ IFXF_CANTCHANGE); + rt_ifmsg(ifp); break; case SIOCSIFMETRIC: |