diff options
| author | rgirada <rgirada@vmware.com> | 2021-07-01 07:09:38 -0700 | 
|---|---|---|
| committer | rgirada <rgirada@vmware.com> | 2021-08-11 23:06:49 -0700 | 
| commit | 0fc3e113231829c3412f5009be2b4c790b444bd3 (patch) | |
| tree | 05e41100efb37bf77d6dcd87b2314e01a00502b7 /ospf6d/ospf6_message.c | |
| parent | 9a06f23d0bd7b0e712ce747c31b22842a8baf15f (diff) | |
ospf6d: GR helper configurations
Description:
	Adding the following cli commands to enable/disable GR helper
	functionality.
	1. [no] graceful-restart helper-only [A.B.C.D]
	2. [no] graceful-restart helper lsa-check-disable
	3. [no] graceful-restart helper planned-only
	4. [no] graceful-restart helper supported-grace-time (10-1800)
	show commands:
	show ipv6 ospf6 graceful-restart helper [detail] [json]
Signed-off-by: Rajesh Girada <rgirada@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_message.c')
| -rw-r--r-- | ospf6d/ospf6_message.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_message.c b/ospf6d/ospf6_message.c index a80ec4430f..cd73e3d406 100644 --- a/ospf6d/ospf6_message.c +++ b/ospf6d/ospf6_message.c @@ -515,7 +515,7 @@ static void ospf6_hello_recv(struct in6_addr *src, struct in6_addr *dst,  	if (twoway)  		thread_execute(master, twoway_received, on, 0);  	else { -		if (IS_DEBUG_OSPF6_GR_HELPER) +		if (IS_DEBUG_OSPF6_GR)  			zlog_debug(  				"%s, Received oneway hello from RESTARTER so ignore here.",  				__PRETTY_FUNCTION__); @@ -545,7 +545,7 @@ static void ospf6_hello_recv(struct in6_addr *src, struct in6_addr *dst,  		 * period, it can handle if there is any change before GR and  		 * after GR.  		 */ -		if (IS_DEBUG_OSPF6_GR_HELPER) +		if (IS_DEBUG_OSPF6_GR)  			zlog_debug(  				"%s, Neighbor is under GR Restart, hence ignoring the ISM Events",  				__PRETTY_FUNCTION__); @@ -1302,7 +1302,7 @@ static unsigned ospf6_lsa_examin(struct ospf6_lsa_header *lsah,  	case OSPF6_LSTYPE_GRACE_LSA:  		if (lsalen < OSPF6_LSA_HEADER_SIZE + GRACE_PERIOD_TLV_SIZE  				     + GRACE_RESTART_REASON_TLV_SIZE) { -			if (IS_DEBUG_OSPF6_GR_HELPER) +			if (IS_DEBUG_OSPF6_GR)  				zlog_debug("%s: Undersized GraceLSA.",  					   __func__);  			return MSG_NG;  | 
