summaryrefslogtreecommitdiff
path: root/src/network/networkd-dhcp4.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-09-10 00:17:28 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-09-17 21:53:42 +0900
commitc077a205e71cb4c0c837c69f28b001553b9be3f9 (patch)
treefa91fcd4e248d8602233477980d3e9e69218932e /src/network/networkd-dhcp4.c
parentf1368755493c73734c830150f0c9cd1c928ac29c (diff)
downloadsystemd-c077a205e71cb4c0c837c69f28b001553b9be3f9.tar.gz
systemd-c077a205e71cb4c0c837c69f28b001553b9be3f9.tar.bz2
systemd-c077a205e71cb4c0c837c69f28b001553b9be3f9.zip
network: take more route information into hash func
Diffstat (limited to 'src/network/networkd-dhcp4.c')
-rw-r--r--src/network/networkd-dhcp4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-dhcp4.c b/src/network/networkd-dhcp4.c
index c5644f844b..d9951abe24 100644
--- a/src/network/networkd-dhcp4.c
+++ b/src/network/networkd-dhcp4.c
@@ -181,7 +181,7 @@ static int link_set_dhcp_routes(Link *link) {
* the addresses now, let's not configure the routes either. */
return 0;
- r = set_ensure_allocated(&link->dhcp_routes, &route_full_hash_ops);
+ r = set_ensure_allocated(&link->dhcp_routes, &route_hash_ops);
if (r < 0)
return log_oom();