mirror of
https://github.com/rtbrick/bngblaster.git
synced 2024-05-06 15:54:57 +00:00
fix DHCPv6 teardown state
This commit is contained in:
@ -178,7 +178,7 @@ bbl_dhcpv6_rx(bbl_ethernet_header_t *eth, bbl_dhcpv6_t *dhcpv6, bbl_session_s *s
|
||||
session->stats.dhcpv6_rx_reply++;
|
||||
/* Handle DHCPv6 teardown */
|
||||
if(session->dhcpv6_state == BBL_DHCP_RELEASE) {
|
||||
session->dhcpv6_state = session->dhcpv6_state == BBL_DHCP_INIT;
|
||||
session->dhcpv6_state = BBL_DHCP_INIT;
|
||||
if(session->session_state == BBL_TERMINATING) {
|
||||
bbl_session_clear(ctx, session);
|
||||
}
|
||||
|
Reference in New Issue
Block a user