From 4ebb5edd1567a3361c12af0fa452fdf5cc0a04ff Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Sun, 23 Jun 2013 12:01:36 +0400 Subject: ipoe: fixed detection of opt82 change --- accel-pppd/ctrl/ipoe/ipoe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pppd/ctrl/ipoe') diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index 5845f6e..ce04656 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -150,7 +150,7 @@ static struct ipoe_session *ipoe_session_lookup(struct ipoe_serv *serv, struct d } list_for_each_entry(ses, &serv->sessions, entry) { - opt82_match = pack->relay_agent == NULL; + opt82_match = pack->relay_agent != NULL; if (opt82_match && agent_circuit_id && !ses->agent_circuit_id) opt82_match = 0; -- cgit v1.2.3