summaryrefslogtreecommitdiffstats
path: root/src/libsystemd-network
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2024-01-18 02:16:47 +0100
committerRonan Pigott <ronan@rjp.ie>2024-10-21 18:10:19 +0200
commitc691f9d98459d5422861e08eb9c43ba25bc3ecba (patch)
treee130e3c8647c2dd8112bba653d533051c0cae903 /src/libsystemd-network
parentnetwork: Parse RFC9463 DHCPv6 DNR option (diff)
downloadsystemd-c691f9d98459d5422861e08eb9c43ba25bc3ecba.tar.xz
systemd-c691f9d98459d5422861e08eb9c43ba25bc3ecba.zip
network: Introduce UseDNR DHCPv6 option
This is equivalent to the DHCPv4 option introduced earlier.
Diffstat (limited to 'src/libsystemd-network')
-rw-r--r--src/libsystemd-network/dhcp6-option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp6-option.c b/src/libsystemd-network/dhcp6-option.c
index 787cc37d00..507cd3547d 100644
--- a/src/libsystemd-network/dhcp6-option.c
+++ b/src/libsystemd-network/dhcp6-option.c
@@ -206,6 +206,7 @@ bool dhcp6_option_can_request(uint16_t option) {
case SD_DHCP6_OPTION_V6_DOTS_RI:
case SD_DHCP6_OPTION_V6_DOTS_ADDRESS:
case SD_DHCP6_OPTION_IPV6_ADDRESS_ANDSF:
+ case SD_DHCP6_OPTION_V6_DNR:
return true;
default:
return false;