mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 23:31:39 +00:00
Clarify hexiness of header length
This commit is contained in:
parent
2c0eb6eb1d
commit
36c94eae78
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user