[tftp] Prevent potential division by zero
authorMichael Brown <mcb30@ipxe.org>
Sun, 18 Mar 2018 15:43:11 +0000 (17:43 +0200)
committerMichael Brown <mcb30@ipxe.org>
Sun, 18 Mar 2018 15:43:11 +0000 (17:43 +0200)
commitb11ae1d91b32c7d0d52a0fc35a37b5e2f57a0f79
treed055dbb9adbc68f35645bfa4d5c1c01fe8600825
parentc160c9dfc0d27af6989fb450937866d9f2d5b34c
[tftp] Prevent potential division by zero

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