summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-11-20 05:31:25 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-11-20 05:31:25 +0000
commit9d39151cbb07d88ab14a96a002571697f1f16728 (patch)
treeac8f9a24107a517afb84d3d51b5266f3969c6f67 /sys
parent1316ee19fdcaef204d45fda84f0076627224d524 (diff)
dont check for IFF_OACTIVE
only a driver sets or clears this flag. pppx never sets it, so it will never be set when it checks it.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if_pppx.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_pppx.c b/sys/net/if_pppx.c
index df2a242874d..fd87512ebd9 100644
--- a/sys/net/if_pppx.c
+++ b/sys/net/if_pppx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pppx.c,v 1.45 2015/11/03 12:02:59 dlg Exp $ */
+/* $OpenBSD: if_pppx.c,v 1.46 2015/11/20 05:31:24 dlg Exp $ */
/*
* Copyright (c) 2010 Claudio Jeker <claudio@openbsd.org>
@@ -972,8 +972,6 @@ pppx_if_start(struct ifnet *ifp)
struct mbuf *m;
int proto, s;
- if (ISSET(ifp->if_flags, IFF_OACTIVE))
- return;
if (!ISSET(ifp->if_flags, IFF_RUNNING))
return;