diff options
| author | GalaxyGorilla <sascha@netdef.org> | 2020-12-07 12:13:26 +0000 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2021-07-05 11:43:02 -0300 | 
| commit | 3f87e1d8b398fdcfb34e51bc0cfd0dc7a4dd0cb4 (patch) | |
| tree | b1c0cfed69f0fccb635b046b3ecc1d42560838d7 /ospfd/ospf_flood.c | |
| parent | e9505bc63a93b8034d135703efeb8c55ac9ee280 (diff) | |
ospfd: adjust log config for GR
Remove previous log config
	debug ospf graceful-restart helper
and just use
	debug ospf graceful-restart
for everything related to OSPF GR.
Signed-off-by: GalaxyGorilla <sascha@netdef.org>
Diffstat (limited to 'ospfd/ospf_flood.c')
| -rw-r--r-- | ospfd/ospf_flood.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospf_flood.c b/ospfd/ospf_flood.c index cfdf892d9a..a52812b867 100644 --- a/ospfd/ospf_flood.c +++ b/ospfd/ospf_flood.c @@ -385,7 +385,7 @@ int ospf_flood(struct ospf *ospf, struct ospf_neighbor *nbr,  		if (IS_LSA_MAXAGE(new)) {  			/*  Handling Max age grace LSA.*/ -			if (IS_DEBUG_OSPF_GR_HELPER) +			if (IS_DEBUG_OSPF_GR)  				zlog_debug(  					"%s, Received a maxage GRACE-LSA from router %pI4",  					__func__, &new->data->adv_router); @@ -393,21 +393,21 @@ int ospf_flood(struct ospf *ospf, struct ospf_neighbor *nbr,  			if (current) {  				ospf_process_maxage_grace_lsa(ospf, new, nbr);  			} else { -				if (IS_DEBUG_OSPF_GR_HELPER) +				if (IS_DEBUG_OSPF_GR)  					zlog_debug(  						"%s, Grace LSA doesn't exist in lsdb, so discarding grace lsa",  						__func__);  				return -1;  			}  		} else { -			if (IS_DEBUG_OSPF_GR_HELPER) +			if (IS_DEBUG_OSPF_GR)  				zlog_debug(  					"%s, Received a GRACE-LSA from router %pI4",  					__func__, &new->data->adv_router);  			if (ospf_process_grace_lsa(ospf, new, nbr)  			    == OSPF_GR_NOT_HELPER) { -				if (IS_DEBUG_OSPF_GR_HELPER) +				if (IS_DEBUG_OSPF_GR)  					zlog_debug(  						"%s, Not moving to HELPER role, So discarding grace LSA",  						__func__);  | 
