diff options
author | Tom Gundersen <teg@jklm.no> | 2015-02-08 23:20:56 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-02-09 12:20:10 +0100 |
commit | 7f77697a1744f8df2089848b9d718faf7ba6c665 (patch) | |
tree | 294907c72f1008bfe7189e81ec27e8a4bae0131c /src/network/networkd-network-gperf.gperf | |
parent | d0d6a4cd70477970812bff0a37e70f66208d7c14 (diff) |
networkd: add support for IPv6 tokens
This allows the admin to set the host-specific part of IPv6 addresses, but still
receive the prefix via SLAAC.
.network file snippet:
[Network]
IPv6Token=::12
gives:
$ ip token
token ::12 dev eth0
This closes https://bugs.freedesktop.org/show_bug.cgi?id=81177.
Diffstat (limited to 'src/network/networkd-network-gperf.gperf')
-rw-r--r-- | src/network/networkd-network-gperf.gperf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-network-gperf.gperf b/src/network/networkd-network-gperf.gperf index 525f2ba799..6f295488bd 100644 --- a/src/network/networkd-network-gperf.gperf +++ b/src/network/networkd-network-gperf.gperf @@ -38,6 +38,7 @@ Network.DHCP, config_parse_dhcp, 0, Network.DHCPServer, config_parse_bool, 0, offsetof(Network, dhcp_server) Network.LinkLocal, config_parse_address_family_boolean,0, offsetof(Network, link_local) Network.IPv4LLRoute, config_parse_bool, 0, offsetof(Network, ipv4ll_route) +Network.IPv6Token, config_parse_token, 0, offsetof(Network, ipv6_token) Network.LLDP, config_parse_bool, 0, offsetof(Network, lldp) Network.Address, config_parse_address, 0, 0 Network.Gateway, config_parse_gateway, 0, 0 |