diff options
Diffstat (limited to 'ospf6d')
| -rw-r--r-- | ospf6d/ospf6_auth_trailer.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_auth_trailer.c b/ospf6d/ospf6_auth_trailer.c index f98f092edb..96325a4cfb 100644 --- a/ospf6d/ospf6_auth_trailer.c +++ b/ospf6d/ospf6_auth_trailer.c @@ -664,7 +664,7 @@ void ospf6_auth_update_digest(struct ospf6_interface *oi,  			      struct ospf6_auth_hdr *ospf6_auth, char *auth_str,  			      uint32_t pkt_len, enum keychain_hash_algo algo)  { -	static const uint16_t cpid = 1; +	const uint16_t cpid = htons(1);  	uint32_t hash_len = keychain_get_hash_len(algo);  	uint32_t block_s = keychain_get_block_size(algo);  	uint32_t k_len = strlen(auth_str);  | 
