Add support for DHCP static route options
authorEugene Yakubovich <eyakubovich@gmail.com>
Fri, 27 Jun 2014 22:00:06 +0000 (15:00 -0700)
committerTom Gundersen <teg@jklm.no>
Sun, 29 Jun 2014 13:18:21 +0000 (15:18 +0200)
commite1ea665edac17d75fce01b72dadfa3211b60df2c
tree9f1d4c8ae93862cf5ebae973cd48d053ef34c0dd
parented942a9eb22d50f667909ad6184b45015d28d054
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.
12 files changed:
man/systemd.network.xml
src/libsystemd-network/dhcp-lease-internal.h
src/libsystemd-network/dhcp-protocol.h
src/libsystemd-network/network-internal.c
src/libsystemd-network/network-internal.h
src/libsystemd-network/sd-dhcp-lease.c
src/network/networkd-link.c
src/network/networkd-network-gperf.gperf
src/network/networkd-network.c
src/network/networkd.h
src/network/test-network.c
src/systemd/sd-dhcp-lease.h