Skip to content

Commit

Permalink
TCXB7-6810:COX -TXB7 - MAPT is not Working after WA cable disconnect/…
Browse files Browse the repository at this point in the history
…connect (#57)

Reason for change: if WAN is configured as MAPT or IPv6 Only and v6 renew packet recived,
                   wan-status is goig to stopped, which is causing v6 default route delete.
Test Procedure:
1.)Test MAPT behaviour with Docsis and WANoE line.
Risks: High
Priority: P1
Signed-off-by: kulvendra singh <[email protected]>
  • Loading branch information
kul2241 authored and S-Parthiban-Selvaraj committed Nov 20, 2024
1 parent 7337a77 commit 3e6ed47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/WanManager/wanmgr_interface_sm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ static int wan_tearDownIPv6(WanMgr_IfaceSM_Controller_t * pWanIfaceCtrl)
#endif

sysevent_get(sysevent_fd, sysevent_token, SYSEVENT_WAN_STATUS, buf, sizeof(buf));
if ((strcmp(buf, WAN_STATUS_STOPPED) != 0) && (p_VirtIf->IP.Ipv4Status == WAN_IFACE_IPV4_STATE_DOWN))
if ((strcmp(buf, WAN_STATUS_STOPPED) != 0) && ((p_VirtIf->IP.Ipv4Status == WAN_IFACE_IPV4_STATE_DOWN) && (p_VirtIf->MAP.MaptStatus == WAN_IFACE_MAPT_STATE_DOWN)))
{
sysevent_set(sysevent_fd, sysevent_token, SYSEVENT_WAN_STATUS, WAN_STATUS_STOPPED, 0);
sysevent_set(sysevent_fd, sysevent_token, SYSEVENT_WAN_SERVICE_STATUS, WAN_STATUS_STOPPED, 0);
Expand Down

0 comments on commit 3e6ed47

Please sign in to comment.