diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-01 14:23:56 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-10-06 18:14:51 +0200 |
commit | 3bac5fe6c9b80794d8858066c563bfab5934934f (patch) | |
tree | 74fa2eab4dbb312071436c3857599ed7d80d43c4 /src/network/networkd-network.h | |
parent | network: address-generation: mask prefix with prefixlen for safety (diff) | |
download | systemd-3bac5fe6c9b80794d8858066c563bfab5934934f.tar.xz systemd-3bac5fe6c9b80794d8858066c563bfab5934934f.zip |
network: address-generation: modernize config_parse_address_generation_type()
- drop unused _NONE type,
- rename IPv6Token::prefix -> IPv6Token::address,
- clear unused part of IPv6Token::address,
- use Set, instead of OrderedSet.
Diffstat (limited to 'src/network/networkd-network.h')
-rw-r--r-- | src/network/networkd-network.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-network.h b/src/network/networkd-network.h index fb896598a8..81b7797e6e 100644 --- a/src/network/networkd-network.h +++ b/src/network/networkd-network.h @@ -321,7 +321,7 @@ struct Network { Set *ndisc_allow_listed_prefix; Set *ndisc_deny_listed_route_prefix; Set *ndisc_allow_listed_route_prefix; - OrderedSet *ipv6_tokens; + Set *ndisc_tokens; /* LLDP support */ LLDPMode lldp_mode; /* LLDP reception */ |