]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
DHCP messages are really BOOTP so lets name the structure accordingly.
authorRoy Marples <roy@marples.name>
Fri, 6 May 2016 13:26:41 +0000 (13:26 +0000)
committerRoy Marples <roy@marples.name>
Fri, 6 May 2016 13:26:41 +0000 (13:26 +0000)
commita67f0194dfa5f6d80d6acc29dd7f167cad7fdafa
tree8ac0e27ea9e1c5a96c0ee441314788dd21057ba6
parent416a319e23031e0dff2d5c5f95d73ddcde052cd4
DHCP messages are really BOOTP so lets name the structure accordingly.
While here, stop making assumptions about the size of a DHCP packet based
on a fixed structure from a default MTU of 1500.
Instead, make it flexable and set the DHCP packet size to the interface MTU
less UDP and IP headers.
As a result, we need to know the size of the DHCP packet received
rather than just walking the old fixed DHCP message structure.

This makes Coverity happy about tainted scalar values when parsing DHCP
messages.
auth.c
dhcp.c
dhcp.h
dhcpcd.c
dhcpcd.h
if-bsd.c
ipv4.c
script.c