diff options
author | Eugene Yakubovich <eyakubovich@gmail.com> | 2014-06-27 15:00:06 -0700 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-06-29 15:18:21 +0200 |
commit | e1ea665edac17d75fce01b72dadfa3211b60df2c (patch) | |
tree | 9f1d4c8ae93862cf5ebae973cd48d053ef34c0dd /src/libsystemd-network/dhcp-protocol.h | |
parent | ed942a9eb22d50f667909ad6184b45015d28d054 (diff) |
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.
Diffstat (limited to 'src/libsystemd-network/dhcp-protocol.h')
-rw-r--r-- | src/libsystemd-network/dhcp-protocol.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, }; |