summaryrefslogtreecommitdiff
path: root/CODING_STYLE
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-03-19 16:05:44 +0100
committerTom Gundersen <teg@jklm.no>2014-03-21 17:52:42 +0100
commit9e64dd72765ddc2583554ebed24eb2c824564838 (patch)
tree85f7e9394a093269adfa6ca917b203221b38bba8 /CODING_STYLE
parent022446adf99b84c59a88c2e614033ccde13c395c (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 'CODING_STYLE')
0 files changed, 0 insertions, 0 deletions