]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd: ignore Static Routes option when Classless Static Routes is given (#7807)
authorSusant Sahani <145210+ssahani@users.noreply.github.com>
Fri, 19 Jan 2018 23:42:45 +0000 (05:12 +0530)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 19 Jan 2018 23:42:45 +0000 (08:42 +0900)
commit8cdc46e7bad6bb8b1fd34b5ad9d95894e0b6b4eb
treec2df7884a6283c32c29e8d1aa0b76e941fe2a040
parentc3de717e5121167fd9e744e0712dbd09d79233bc
networkd: ignore Static Routes option when Classless Static Routes is given (#7807)

When the DHCP server returns both a Classless Static Routes
option and a Static Routes option, the DHCP client MUST ignore the
Static Routes option.

Closes #7792
src/libsystemd-network/dhcp-lease-internal.h
src/libsystemd-network/sd-dhcp-lease.c
src/network/networkd-dhcp4.c