]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: send RFC1542 compliant value for bootp requests
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Thu, 27 Aug 2015 21:57:18 +0000 (23:57 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 28 Oct 2015 19:55:47 +0000 (14:55 -0500)
commit454d9d3ec81c5b77adaecb9a6254336d4c5775a9
tree7a7ed72f1643293fa2f2ba2a7e798e5b5ad7e69b
parent867d6ae2c9cec6a0f6f3a7472cf8397693f6cc35
net: send RFC1542 compliant value for bootp requests

RFC1542, 3.2:
"The 'secs' field of a BOOTREQUEST message SHOULD represent the
elapsed time, in seconds, since the client sent its first BOOTREQUEST
message.  Note that this implies that the 'secs' field of the first
BOOTREQUEST message SHOULD be set to zero."

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
net/bootp.c