net: replace %p6 with %pI6
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
4b7a4274ca
commit
5b095d9892
@ -2115,7 +2115,7 @@ static void xfrm_audit_helper_sainfo(struct xfrm_state *x,
|
||||
NIPQUAD(x->id.daddr.a4));
|
||||
break;
|
||||
case AF_INET6:
|
||||
audit_log_format(audit_buf, " src=%p6 dst=%p6",
|
||||
audit_log_format(audit_buf, " src=%pI6 dst=%pI6",
|
||||
x->props.saddr.a6, x->id.daddr.a6);
|
||||
break;
|
||||
}
|
||||
@ -2140,7 +2140,7 @@ static void xfrm_audit_helper_pktinfo(struct sk_buff *skb, u16 family,
|
||||
case AF_INET6:
|
||||
iph6 = ipv6_hdr(skb);
|
||||
audit_log_format(audit_buf,
|
||||
" src=%p6 dst=%p6 flowlbl=0x%x%02x%02x",
|
||||
" src=%pI6 dst=%pI6 flowlbl=0x%x%02x%02x",
|
||||
&iph6->saddr,&iph6->daddr,
|
||||
iph6->flow_lbl[0] & 0x0f,
|
||||
iph6->flow_lbl[1],
|
||||
|
Reference in New Issue
Block a user