summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-07-28 12:21:51 +0200
committerTom Gundersen <teg@jklm.no>2014-07-28 12:21:51 +0200
commit16aa63a00b5b1db23a9c0b8de350ebf482d90cd0 (patch)
treec6284cb5d0d56d0d2ec61138da8de37fdd97e076 /src/network/networkd-network.c
parent6a0a2f860f1ca4a10932da3b41dbc3c0139757cc (diff)
networkd: route/address - use trivial hash functions
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index 7e753e15af..c99dab809b 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -66,11 +66,11 @@ static int network_load_one(Manager *manager, const char *filename) {
if (!network->stacked_netdevs)
return log_oom();
- network->addresses_by_section = hashmap_new(uint64_hash_func, uint64_compare_func);
+ network->addresses_by_section = hashmap_new(NULL, NULL);
if (!network->addresses_by_section)
return log_oom();
- network->routes_by_section = hashmap_new(uint64_hash_func, uint64_compare_func);
+ network->routes_by_section = hashmap_new(NULL, NULL);
if (!network->routes_by_section)
return log_oom();