From: Roy Marples Date: Mon, 16 Jun 2025 22:54:31 +0000 (+0100) Subject: DHCP: Request static_routes from dhcpcd.conf X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;p=thirdparty%2Fdhcpcd.git DHCP: Request static_routes from dhcpcd.conf Rather than being requested by default in the dhcpcd binary. This matches classless_static_routes. --- diff --git a/src/dhcpcd-definitions-small.conf b/src/dhcpcd-definitions-small.conf index 09bae000..2f231286 100644 --- a/src/dhcpcd-definitions-small.conf +++ b/src/dhcpcd-definitions-small.conf @@ -15,7 +15,7 @@ define 12 dname host_name define 15 array dname domain_name define 26 uint16 interface_mtu define 28 request ipaddress broadcast_address -define 33 request array ipaddress static_routes +define 33 array ipaddress static_routes define 50 ipaddress dhcp_requested_address define 51 uint32 dhcp_lease_time define 52 byte dhcp_option_overload diff --git a/src/dhcpcd-definitions.conf b/src/dhcpcd-definitions.conf index ec362086..5c9230de 100644 --- a/src/dhcpcd-definitions.conf +++ b/src/dhcpcd-definitions.conf @@ -45,7 +45,7 @@ define 29 byte perform_mask_discovery define 30 byte mask_supplier define 31 byte router_discovery define 32 ipaddress router_solicitation_address -define 33 request array ipaddress static_routes +define 33 array ipaddress static_routes define 34 byte trailer_encapsulation define 35 uint32 arp_cache_timeout define 36 uint16 ieee802_3_encapsulation diff --git a/src/dhcpcd.conf b/src/dhcpcd.conf index 19de37fb..c8363b33 100644 --- a/src/dhcpcd.conf +++ b/src/dhcpcd.conf @@ -24,7 +24,7 @@ vendorclassid # A list of options to request from the DHCP server. option domain_name_servers, domain_name, domain_search -option classless_static_routes +option static_routes, classless_static_routes # Respect the network MTU. This is applied to DHCP routes. option interface_mtu