diff options
| author | ckishimo <carles.kishimoto@gmail.com> | 2022-01-10 14:32:48 +0100 | 
|---|---|---|
| committer | ckishimo <carles.kishimoto@gmail.com> | 2022-01-10 17:57:58 +0100 | 
| commit | 18529688e6027ba503281090c0a233961580b243 (patch) | |
| tree | 600b90c47e6bcb1caca6203d78790eb1e355c48f /ospf6d/ospf6_nssa.c | |
| parent | b80cebb3b44f172938104af13ed55e5a09da5417 (diff) | |
ospf6d: remove double htons
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
Diffstat (limited to 'ospf6d/ospf6_nssa.c')
| -rw-r--r-- | ospf6d/ospf6_nssa.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/ospf6d/ospf6_nssa.c b/ospf6d/ospf6_nssa.c index cd1be3a5b7..0fda095e0a 100644 --- a/ospf6d/ospf6_nssa.c +++ b/ospf6d/ospf6_nssa.c @@ -1021,10 +1021,10 @@ static void ospf6_nssa_flush_area(struct ospf6_area *area)  		/* Flush the translated LSA */  		if (ospf6_check_and_set_router_abr(ospf6)) { -			type = htons(OSPF6_LSTYPE_AS_EXTERNAL);  			type5 = ospf6_lsdb_lookup( -				htons(type), lsa->external_lsa_id, -				ospf6->router_id, ospf6->lsdb); +				htons(OSPF6_LSTYPE_AS_EXTERNAL), +				lsa->external_lsa_id, ospf6->router_id, +				ospf6->lsdb);  			if (type5  			    && CHECK_FLAG(type5->flag, OSPF6_LSA_LOCAL_XLT)) {  				type5->header->age = htons(OSPF_LSA_MAXAGE);  | 
