Menu

#1 Tie breaker resolution

open
nobody
None
5
2008-09-05
2008-09-05
No

In ppp/ppp_l2tp_ctrl.c:

You say:
else if (ptrs->tiebreaker == NULL) /* i win */
diff = -1;

but later after a couple of lines you say:

if (diff > 0) { /* i win */
CLOG(LOG_NOTICE, "SCCRQ tie: peer loses");

Correction: Replace "diff >0" with "diff < 0".

Discussion


Log in to post a comment.

MongoDB Logo MongoDB