diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2013-06-23 12:01:36 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2013-06-23 12:01:36 +0400 |
commit | 4ebb5edd1567a3361c12af0fa452fdf5cc0a04ff (patch) | |
tree | 86f01128751ebe1b0d323491e6fdc55d29112217 /accel-pppd | |
parent | 91785c3cc0d7d15ae747aa83239961ce7ae3e7cb (diff) | |
download | accel-ppp-xebd-4ebb5edd1567a3361c12af0fa452fdf5cc0a04ff.tar.gz accel-ppp-xebd-4ebb5edd1567a3361c12af0fa452fdf5cc0a04ff.zip |
ipoe: fixed detection of opt82 change
Diffstat (limited to 'accel-pppd')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |