summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-link.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-08-14 10:45:44 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-09-07 19:30:04 +0200
commit50550722e3ba8c33c58c9a2f3da827877bd659cc (patch)
treed23a4e397b4b4eda6652e466248d92b223f4625a /src/network/networkd-link.h
parentnetwork: expose route_{hash,compare}_func() (diff)
downloadsystemd-50550722e3ba8c33c58c9a2f3da827877bd659cc.tar.xz
systemd-50550722e3ba8c33c58c9a2f3da827877bd659cc.zip
network: fix NDisc handling for the case when multiple routers exist
69203fba700ea8d7b0c4f4e3d1e1f809ac4644a1 does not consider the case that multiple routers exist, and causes #16719. Fixes #16719.
Diffstat (limited to 'src/network/networkd-link.h')
-rw-r--r--src/network/networkd-link.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-link.h b/src/network/networkd-link.h
index ab5c3fd26a..a0c5661149 100644
--- a/src/network/networkd-link.h
+++ b/src/network/networkd-link.h
@@ -132,8 +132,8 @@ typedef struct Link {
sd_ndisc *ndisc;
Set *ndisc_rdnss;
Set *ndisc_dnssl;
- Set *ndisc_addresses, *ndisc_addresses_old;
- Set *ndisc_routes, *ndisc_routes_old;
+ Set *ndisc_addresses;
+ Set *ndisc_routes;
unsigned ndisc_addresses_messages;
unsigned ndisc_routes_messages;
bool ndisc_addresses_configured:1;