diff options
-rw-r--r-- | sbin/ifconfig/ifconfig.8 | 9 | ||||
-rw-r--r-- | sys/net/if_pppx.c | 3 |
2 files changed, 9 insertions, 3 deletions
diff --git a/sbin/ifconfig/ifconfig.8 b/sbin/ifconfig/ifconfig.8 index 6ede3f30885..3f8c452acd7 100644 --- a/sbin/ifconfig/ifconfig.8 +++ b/sbin/ifconfig/ifconfig.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifconfig.8,v 1.230 2012/11/23 21:59:28 sthen Exp $ +.\" $OpenBSD: ifconfig.8,v 1.231 2013/02/06 22:58:18 sthen Exp $ .\" $NetBSD: ifconfig.8,v 1.11 1996/01/04 21:27:29 pk Exp $ .\" $FreeBSD: ifconfig.8,v 1.16 1998/02/01 07:03:29 steve Exp $ .\" @@ -31,7 +31,7 @@ .\" .\" @(#)ifconfig.8 8.4 (Berkeley) 6/1/94 .\" -.Dd $Mdocdate: November 23 2012 $ +.Dd $Mdocdate: February 6 2013 $ .Dt IFCONFIG 8 .Os .Sh NAME @@ -230,6 +230,11 @@ is a member of the .Em ppp interface family group. .It +.Xr pppx 4 +interfaces are members of the +.Em pppx +interface group. +.It The interface(s) the default route(s) point to are members of the .Em egress interface group. 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 |