diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-19 16:05:44 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-21 17:52:42 +0100 |
commit | 9e64dd72765ddc2583554ebed24eb2c824564838 (patch) | |
tree | 85f7e9394a093269adfa6ca917b203221b38bba8 /test | |
parent | 022446adf99b84c59a88c2e614033ccde13c395c (diff) |
sd-dhcp-client: add fallback subnet masks
The DHCP RFC does not require the DHCP server to send a subnet mask, so if it
is missing, let's try to use the default subnet masks based on address class.
In case the class the address belongs to does not have a default subnet mask,
we fail as before.
Also improve logging when handling invalid dhcp messages, and simply ignore them
rather than stop the whole dhcp client.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions