Browse Source

Clarify hexiness of header length

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
36c94eae78
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/net/ipv4.c

+ 1
- 1
src/net/ipv4.c View File

@@ -107,7 +107,7 @@ void del_ipv4_address ( struct net_device *netdev ) {
107 107
  */
108 108
 static void ipv4_dump ( struct iphdr *iphdr __unused ) {
109 109
 
110
-	DBG ( "IP4 header at %p+%zx\n", iphdr, sizeof ( *iphdr ) );
110
+	DBG ( "IP4 header at %p+%#zx\n", iphdr, sizeof ( *iphdr ) );
111 111
 	DBG ( "\tVersion = %d\n", ( iphdr->verhdrlen & IP_MASK_VER ) / 16 );
112 112
 	DBG ( "\tHeader length = %d\n", iphdr->verhdrlen & IP_MASK_HLEN );
113 113
 	DBG ( "\tService = %d\n", iphdr->service );

Loading…
Cancel
Save