Follow-up for c01a5c0.
c01a5c0
To prevent copy-and-paste mistake. This also introduce in_addr_hash_func(). No functional change, just refactoring.