From 9ebf7b89f96b8d53a86cfbc4676074c6157ceced Mon Sep 17 00:00:00 2001 From: glebius Date: Mon, 19 Sep 2005 11:49:54 +0000 Subject: [PATCH] Dej'a vu of revision 1.35 PR: kern/86258 Submitted by: Hiroshi Oota --- 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 4e3dda75b603..39d3e97a40e5 100644 --- a/sys/netgraph/ng_pppoe.c +++ b/sys/netgraph/ng_pppoe.c @@ -720,7 +720,7 @@ ng_pppoe_rcvmsg(node_p node, item_p item, hook_p lasthook) if (msg->header.cmd == NGM_PPPOE_SERVICE) { break; } - if (sp->state |= PPPOE_SNONE) { + if (sp->state != PPPOE_SNONE) { printf("pppoe: Session already active\n"); LEAVE(EISCONN); }