david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

Clarify hexiness of header length

This commit is contained in:
Michael Brown 2006-07-20 00:01:50 +00:00
parent 2c0eb6eb1d
commit 36c94eae78
1 changed files with 1 additions and 1 deletions

View File

@ -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 );