chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkd: route/address - use trivial hash functions
[elogind.git]
/
src
/
network
/
networkd-network.c
diff --git
a/src/network/networkd-network.c
b/src/network/networkd-network.c
index 7e753e15aff27f55b69ca16898825378f0163272..c99dab809b71054d27196710e41fb28d18e9dcd0 100644
(file)
--- 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();
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();
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();
if (!network->routes_by_section)
return log_oom();