diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2010-03-08 14:07:00 -0500 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2010-05-03 14:52:48 -0700 |
commit | 9739946cc5b616c026d433bd07d193cf452ddea0 (patch) | |
tree | ef66b5ce60bff4bf493552f6a879353291382f96 /drivers/qe | |
parent | 6f5f89f01195e2d009b317df27197a38fcab3553 (diff) | |
download | u-boot-imx-9739946cc5b616c026d433bd07d193cf452ddea0.zip u-boot-imx-9739946cc5b616c026d433bd07d193cf452ddea0.tar.gz u-boot-imx-9739946cc5b616c026d433bd07d193cf452ddea0.tar.bz2 |
./net/net.c - make Microsoft dns servers happy with random_port() numbers
For some reason, (which I can't find any documentation on), if U-Boot
gives a port number higher than 17500 to a Microsoft DNS server, the
server will reply to port 17500, and U-Boot will ignore things (since
that isn't the port it asked the DNS server to reply to).
This fixes that by ensuring the random port number is less than 17500.
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/qe')
0 files changed, 0 insertions, 0 deletions