mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
Do not send IPv6 RS for L2TP sessions to BBL
For L2TP sessions to BNG Blaster LNS do not send IPv6 RS.
This commit is contained in:
+8
-4
@@ -958,8 +958,10 @@ bbl_rx_ip6cp(bbl_ethernet_header_t *eth, bbl_interface_s *interface, bbl_session
|
||||
session->link_local_ipv6_address[0] = 0xfe;
|
||||
session->link_local_ipv6_address[1] = 0x80;
|
||||
*(uint64_t*)&session->link_local_ipv6_address[8] = session->ip6cp_ipv6_identifier;
|
||||
session->send_requests |= BBL_SEND_ICMPV6_RS;
|
||||
bbl_session_tx_qnode_insert(session);
|
||||
if(session->l2tp == false) {
|
||||
session->send_requests |= BBL_SEND_ICMPV6_RS;
|
||||
bbl_session_tx_qnode_insert(session);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@@ -990,8 +992,10 @@ bbl_rx_ip6cp(bbl_ethernet_header_t *eth, bbl_interface_s *interface, bbl_session
|
||||
session->link_local_ipv6_address[0] = 0xfe;
|
||||
session->link_local_ipv6_address[1] = 0x80;
|
||||
*(uint64_t*)&session->link_local_ipv6_address[8] = session->ip6cp_ipv6_identifier;
|
||||
session->send_requests |= BBL_SEND_ICMPV6_RS;
|
||||
bbl_session_tx_qnode_insert(session);
|
||||
if(session->l2tp == false) {
|
||||
session->send_requests |= BBL_SEND_ICMPV6_RS;
|
||||
bbl_session_tx_qnode_insert(session);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user