From 5078fb0b2a8d0a6f49c1f0e6d9785f33bd7c1b91 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Mon, 18 Dec 2000 13:41:46 +0000 Subject: [PATCH] Impossible to see typo.. |= instead of != --- sys/netgraph/ng_pppoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c index e41c80e2d0a1..af82ac057543 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); }