From d0d54c77438e3cc25a360993bcc085520d15db13 Mon Sep 17 00:00:00 2001 From: Christian Giese Date: Thu, 11 Nov 2021 09:23:58 +0100 Subject: [PATCH] fix IPoE with IPv6 only --- src/bbl_rx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bbl_rx.c b/src/bbl_rx.c index b64b4ced..ac70fc7c 100644 --- a/src/bbl_rx.c +++ b/src/bbl_rx.c @@ -489,6 +489,9 @@ bbl_rx_icmpv6(bbl_ethernet_header_t *eth, bbl_ipv6_t *ipv6, bbl_interface_s *int } } if(session->access_type == ACCESS_TYPE_IPOE) { + if(!session->arp_resolved) { + memcpy(session->server_mac, eth->src, ETH_ADDR_LEN); + } bbl_rx_established_ipoe(eth, interface, session); } else if(icmpv6->other && ctx->config.dhcpv6_enable) { bbl_dhcpv6_start(session);