Skip to content

Commit 226a68e

Browse files
committed
DHCP: Request static_routes from dhcpcd.conf
Rather than being requested by default in the dhcpcd binary. This matches classless_static_routes.
1 parent 1d88866 commit 226a68e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/dhcpcd-definitions-small.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ define 12 dname host_name
1515
define 15 array dname domain_name
1616
define 26 uint16 interface_mtu
1717
define 28 request ipaddress broadcast_address
18-
define 33 request array ipaddress static_routes
18+
define 33 array ipaddress static_routes
1919
define 50 ipaddress dhcp_requested_address
2020
define 51 uint32 dhcp_lease_time
2121
define 52 byte dhcp_option_overload

src/dhcpcd-definitions.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ define 29 byte perform_mask_discovery
4545
define 30 byte mask_supplier
4646
define 31 byte router_discovery
4747
define 32 ipaddress router_solicitation_address
48-
define 33 request array ipaddress static_routes
48+
define 33 array ipaddress static_routes
4949
define 34 byte trailer_encapsulation
5050
define 35 uint32 arp_cache_timeout
5151
define 36 uint16 ieee802_3_encapsulation

src/dhcpcd.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ vendorclassid
2424

2525
# A list of options to request from the DHCP server.
2626
option domain_name_servers, domain_name, domain_search
27-
option classless_static_routes
27+
option static_routes, classless_static_routes
2828
# Respect the network MTU. This is applied to DHCP routes.
2929
option interface_mtu
3030

0 commit comments

Comments
 (0)