net: replace NIPQUAD() in net/*/
Using NIPQUAD() with NIPQUAD_FMT, %d.%d.%d.%d or %u.%u.%u.%u can be replaced with %pI4 Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
14d5e834f6
commit
21454aaad3
@ -897,7 +897,7 @@ static int rxkad_decrypt_ticket(struct rxrpc_connection *conn,
|
||||
/* get the IPv4 address of the entity that requested the ticket */
|
||||
memcpy(&addr, p, sizeof(addr));
|
||||
p += 4;
|
||||
_debug("KIV ADDR : "NIPQUAD_FMT, NIPQUAD(addr));
|
||||
_debug("KIV ADDR : %pI4", &addr);
|
||||
|
||||
/* get the session key from the ticket */
|
||||
memcpy(&key, p, sizeof(key));
|
||||
|
Reference in New Issue
Block a user