fixed compiler warning
This commit is contained in:
1 parent
050cc5828a
commit
c22889b96c
1 file changed
+3
@@ -145,6 +145,9 @@ static void _natd_hash(const struct hash_desc *oakley_hasher, char *hash,
|
||||
break;
|
||||
case AF_INET6:
|
||||
addr_chunk = chunk_from_thing(ip->u.v6.sin6_addr.s6_addr);
|
||||
break;
|
||||
default:
|
||||
addr_chunk = chunk_empty; /* should never occur */
|
||||
}
|
||||
hasher->get_hash(hasher, addr_chunk, NULL);
|
||||
hasher->get_hash(hasher, port_chunk, hash);
|
||||
|
||||
Reference in new issue
Block a user