summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2006-07-20 02:01:50 +0200
committerMichael Brown2006-07-20 02:01:50 +0200
commit36c94eae787c356434a7e09a1c0fb070ce32234a (patch)
tree423f8e3d1faeaf4620f93af1b6b2ab5a01a0a4be /src
parentCorrect TCP/IP checksum generation. (diff)
downloadipxe-36c94eae787c356434a7e09a1c0fb070ce32234a.tar.gz
ipxe-36c94eae787c356434a7e09a1c0fb070ce32234a.tar.xz
ipxe-36c94eae787c356434a7e09a1c0fb070ce32234a.zip
Clarify hexiness of header length
Diffstat (limited to 'src')
-rw-r--r--src/net/ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ipv4.c b/src/net/ipv4.c
index 6594af46a..7c5a091a8 100644
--- a/src/net/ipv4.c
+++ b/src/net/ipv4.c
@@ -107,7 +107,7 @@ void del_ipv4_address ( struct net_device *netdev ) {
*/
static void ipv4_dump ( struct iphdr *iphdr __unused ) {
- DBG ( "IP4 header at %p+%zx\n", iphdr, sizeof ( *iphdr ) );
+ DBG ( "IP4 header at %p+%#zx\n", iphdr, sizeof ( *iphdr ) );
DBG ( "\tVersion = %d\n", ( iphdr->verhdrlen & IP_MASK_VER ) / 16 );
DBG ( "\tHeader length = %d\n", iphdr->verhdrlen & IP_MASK_HLEN );
DBG ( "\tService = %d\n", iphdr->service );