From e1ea665edac17d75fce01b72dadfa3211b60df2c Mon Sep 17 00:00:00 2001 From: Eugene Yakubovich Date: Fri, 27 Jun 2014 15:00:06 -0700 Subject: Add support for DHCP static route options This adds support for DHCP options 33 and 121: Static Route and Classless Static Route. To enable this feature, set UseRoutes=true in .network file. Returned routes are added to the routing table. --- src/libsystemd-network/dhcp-protocol.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libsystemd-network/dhcp-protocol.h') diff --git a/src/libsystemd-network/dhcp-protocol.h b/src/libsystemd-network/dhcp-protocol.h index 4d87891ff1..8cbd98e4ec 100644 --- a/src/libsystemd-network/dhcp-protocol.h +++ b/src/libsystemd-network/dhcp-protocol.h @@ -132,5 +132,6 @@ enum { DHCP_OPTION_RENEWAL_T1_TIME = 58, DHCP_OPTION_REBINDING_T2_TIME = 59, DHCP_OPTION_CLIENT_IDENTIFIER = 61, + DHCP_OPTION_CLASSLESS_STATIC_ROUTE = 121, DHCP_OPTION_END = 255, }; -- cgit v1.2.3-54-g00ecf