networkd:DHCP-client ignore default route if classless static route is set (#6885)
authorSusant Sahani <145210+ssahani@users.noreply.github.com>
Wed, 22 Nov 2017 06:43:55 +0000 (12:13 +0530)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 22 Nov 2017 06:43:55 +0000 (07:43 +0100)
commit5f04a209eae0a2a04eb60fd7235b3fcdf3cc81ba
tree3f409d0cb5303476e722b28006d0372d86c6bcc8
parentffb70e4424554403ddce087a73901a90f5747234
networkd:DHCP-client ignore default route if classless static route is set (#6885)

According to RFC 3442:

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

fixes #5695.
src/network/networkd-dhcp4.c