From b3ca0ac6044b89d77db51f07769a564c705237cc Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Fri, 25 May 2018 11:11:12 +0300 Subject: ipoe: small fix for previous commit --- accel-pppd/ctrl/ipoe/ipoe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'accel-pppd/ctrl') diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index 062cdea6..f5a00cab 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -1784,7 +1784,7 @@ static void __ipoe_recv_dhcpv4(struct dhcpv4_serv *dhcpv4, struct dhcpv4_packet if (memcmp(ses->hwaddr, pack->hdr->chaddr, ETH_ALEN)) { dhcpv4_packet_ref(pack); - triton_context_call(&opt82_ses->ctx, (triton_event_func)mac_change_detected, pack); + triton_context_call(&ses->ctx, (triton_event_func)mac_change_detected, pack); goto out; } } @@ -1841,7 +1841,7 @@ static void __ipoe_recv_dhcpv4(struct dhcpv4_serv *dhcpv4, struct dhcpv4_packet if (memcmp(ses->hwaddr, pack->hdr->chaddr, ETH_ALEN)) { dhcpv4_packet_ref(pack); - triton_context_call(&opt82_ses->ctx, (triton_event_func)mac_change_detected, pack); + triton_context_call(&ses->ctx, (triton_event_func)mac_change_detected, pack); goto out; } } -- cgit v1.2.3