aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-29 15:52:50 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-29 15:52:50 -0400
commit5b095d98928fdb9e3b75be20a54b7a6cbf6ca9ad (patch)
treeb6caa0cdbaac016447a790881ad4a6c5dfce6900 /net/xfrm
parent4b7a4274ca63dadd9c4f17fc953f3a5d19855c4c (diff)
net: replace %p6 with %pI6
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_policy.c4
-rw-r--r--net/xfrm/xfrm_state.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c
index f052b069f983..80b13eea30e7 100644
--- a/net/xfrm/xfrm_policy.c
+++ b/net/xfrm/xfrm_policy.c
@@ -2467,11 +2467,11 @@ static void xfrm_audit_common_policyinfo(struct xfrm_policy *xp,
2467 sel->prefixlen_d); 2467 sel->prefixlen_d);
2468 break; 2468 break;
2469 case AF_INET6: 2469 case AF_INET6:
2470 audit_log_format(audit_buf, " src=%p6", sel->saddr.a6); 2470 audit_log_format(audit_buf, " src=%pI6", sel->saddr.a6);
2471 if (sel->prefixlen_s != 128) 2471 if (sel->prefixlen_s != 128)
2472 audit_log_format(audit_buf, " src_prefixlen=%d", 2472 audit_log_format(audit_buf, " src_prefixlen=%d",
2473 sel->prefixlen_s); 2473 sel->prefixlen_s);
2474 audit_log_format(audit_buf, " dst=%p6", sel->daddr.a6); 2474 audit_log_format(audit_buf, " dst=%pI6", sel->daddr.a6);
2475 if (sel->prefixlen_d != 128) 2475 if (sel->prefixlen_d != 128)
2476 audit_log_format(audit_buf, " dst_prefixlen=%d", 2476 audit_log_format(audit_buf, " dst_prefixlen=%d",
2477 sel->prefixlen_d); 2477 sel->prefixlen_d);
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 7944861fb9bf..304eca4ac970 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -2115,7 +2115,7 @@ static void xfrm_audit_helper_sainfo(struct xfrm_state *x,
2115 NIPQUAD(x->id.daddr.a4)); 2115 NIPQUAD(x->id.daddr.a4));
2116 break; 2116 break;
2117 case AF_INET6: 2117 case AF_INET6:
2118 audit_log_format(audit_buf, " src=%p6 dst=%p6", 2118 audit_log_format(audit_buf, " src=%pI6 dst=%pI6",
2119 x->props.saddr.a6, x->id.daddr.a6); 2119 x->props.saddr.a6, x->id.daddr.a6);
2120 break; 2120 break;
2121 } 2121 }
@@ -2140,7 +2140,7 @@ static void xfrm_audit_helper_pktinfo(struct sk_buff *skb, u16 family,
2140 case AF_INET6: 2140 case AF_INET6:
2141 iph6 = ipv6_hdr(skb); 2141 iph6 = ipv6_hdr(skb);
2142 audit_log_format(audit_buf, 2142 audit_log_format(audit_buf,
2143 " src=%p6 dst=%p6 flowlbl=0x%x%02x%02x", 2143 " src=%pI6 dst=%pI6 flowlbl=0x%x%02x%02x",
2144 &iph6->saddr,&iph6->daddr, 2144 &iph6->saddr,&iph6->daddr,
2145 iph6->flow_lbl[0] & 0x0f, 2145 iph6->flow_lbl[0] & 0x0f,
2146 iph6->flow_lbl[1], 2146 iph6->flow_lbl[1],