From 2615d1c9400adb0769090707c69b9983cde2bf9b Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 18 Dec 2000 13:41:46 +0000 Subject: Impossible to see typo.. |= instead of != --- sys/netgraph/ng_pppoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/netgraph') diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c index e41c80e..af82ac0 100644 --- a/sys/netgraph/ng_pppoe.c +++ b/sys/netgraph/ng_pppoe.c @@ -788,7 +788,7 @@ AAA * for now just allow ONE service to be advertised. * If you do it twice you just overwrite. */ - if (sp->state |= PPPOE_PRIMED) { + if (sp->state != PPPOE_PRIMED) { printf("pppoe: Session not primed\n"); LEAVE(EISCONN); } -- cgit v1.1