[tcpip] Fix dubious calculation of min_port
authorMichael Brown <mcb30@ipxe.org>
Fri, 13 Mar 2015 10:19:44 +0000 (10:19 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 13 Mar 2015 10:19:44 +0000 (10:19 +0000)
commit57bab4e1d3c5ffae8f7c698937d20a01222275c5
treea19bc08f6be21bbaf8f18cda72e21ed5c44746d4
parent7f80eb511e9bbbf74de56d110f351f0b1b052d76
[tcpip] Fix dubious calculation of min_port

Detected using sparse.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/tcpip.c