diff options
| author | Michael Brown | 2010-11-20 06:08:25 +0100 |
|---|---|---|
| committer | Michael Brown | 2010-11-20 17:51:05 +0100 |
| commit | f12fcd53b1b661b5bfe7b5048398225297133b95 (patch) | |
| tree | c9988f527587c5f718cda7af0dfe915c493aae2c /src/usr | |
| parent | [lotest] Use network device receive queue freezing (diff) | |
| download | ipxe-f12fcd53b1b661b5bfe7b5048398225297133b95.tar.gz ipxe-f12fcd53b1b661b5bfe7b5048398225297133b95.tar.xz ipxe-f12fcd53b1b661b5bfe7b5048398225297133b95.zip | |
[lotest] Fix endianness in status message
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr')
| -rw-r--r-- | src/usr/lotest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/lotest.c b/src/usr/lotest.c index 6c87923c0..c8ee62134 100644 --- a/src/usr/lotest.c +++ b/src/usr/lotest.c @@ -194,7 +194,7 @@ int loopback_test ( struct net_device *sender, struct net_device *receiver, } } else { printf ( "\nReceived spurious packet type %04x\n", - net_proto ); + ntohs ( net_proto ) ); /* Continue; this allows for the fact that * there may have been packets outstanding on * the wire when we started the test. |
