Dej'a vu of revision 1.35

PR:		kern/86258
Submitted by:	Hiroshi Oota <ghelp excite.co.jp>
This commit is contained in:
Gleb Smirnoff 2005-09-19 11:49:54 +00:00
parent 0b42281ee9
commit f795fd004d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150319

View File

@ -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);
}