Impossible to see typo.. |= instead of !=

This commit is contained in:
Julian Elischer 2000-12-18 13:41:46 +00:00
parent a67036f740
commit 5078fb0b2a

View File

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