diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2015-08-27 23:53:26 +0200 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2015-10-28 14:54:19 -0500 |
commit | 867d6ae2c9cec6a0f6f3a7472cf8397693f6cc35 (patch) | |
tree | 238c0d27100c8607d163908b8bec130e011beb50 /scripts | |
parent | 829533287afbc2aff2b8c65eb0cbf8f8ee887ae2 (diff) | |
download | u-boot-imx-867d6ae2c9cec6a0f6f3a7472cf8397693f6cc35.zip u-boot-imx-867d6ae2c9cec6a0f6f3a7472cf8397693f6cc35.tar.gz u-boot-imx-867d6ae2c9cec6a0f6f3a7472cf8397693f6cc35.tar.bz2 |
net: reject Bootp/DHCP packets with bad OP value
Rename check_packet to check_reply_packet to make its function more
obvious.
The check for DHCP_* values is completely off, as it should
compare against DHCP option 53 (Message Type). Only valid value for
any Bootp/DHCP reply is BOOTREPLY.
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions