diff options
author | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-02-06 22:58:19 +0000 |
---|---|---|
committer | Stuart Henderson <sthen@cvs.openbsd.org> | 2013-02-06 22:58:19 +0000 |
commit | 4d99011eaa1fc81387a4fea40f668600f4c97461 (patch) | |
tree | b318d1c92be451039e7f9875e18a7120ae4a1d44 /sys | |
parent | 53976634b1ceb02a982288450c679dc867ec677a (diff) |
add pppx(4) interfaces to the "pppx" interface group, as done for various
other interface types. suggested/tested Mattieu Baptiste, ok dlg@ yasuoka@
giovanni@, ifconfig(8) reminder jmc@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if_pppx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_pppx.c b/sys/net/if_pppx.c index 755a433158f..44cca8d4ee7 100644 --- a/sys/net/if_pppx.c +++ b/sys/net/if_pppx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pppx.c,v 1.15 2012/09/19 17:50:17 yasuoka Exp $ */ +/* $OpenBSD: if_pppx.c,v 1.16 2013/02/06 22:58:18 sthen Exp $ */ /* * Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org> @@ -874,6 +874,7 @@ pppx_add_session(struct pppx_dev *pxd, struct pipex_session_req *req) pipex_timer_start(); if_attach(ifp); + if_addgroup(ifp, "pppx"); if_alloc_sadl(ifp); #if NBPFILTER > 0 |