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.