diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2014-02-07 16:32:34 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2014-02-07 16:32:34 +0400 |
commit | 8cac531ce9580b8fa6a6f4e54ad15c16a69d1d48 (patch) | |
tree | 69876d0d2a796befbc54ea0141dd337735549f79 /accel-pppd/ctrl/ipoe/ipoe.c | |
parent | 689ae47e9ba4891e597b3cac2ef4702d6759f91f (diff) | |
download | accel-ppp-8cac531ce9580b8fa6a6f4e54ad15c16a69d1d48.tar.gz accel-ppp-8cac531ce9580b8fa6a6f4e54ad15c16a69d1d48.zip |
ipoe: fixed session lookup without option 82 (continue)
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
Diffstat (limited to 'accel-pppd/ctrl/ipoe/ipoe.c')
-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 a2d2d0b0..ad603f6f 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -1134,7 +1134,7 @@ static void ipoe_ses_recv_dhcpv4(struct dhcpv4_serv *dhcpv4, struct dhcpv4_packe opt82_match = 0; } - if (!opt82_match) { + if (pack->relay_agent && !opt82_match) { log_ppp_info2("port change detected\n"); if (pack->msg_type == DHCPREQUEST) dhcpv4_send_nak(dhcpv4, pack); |