diff options
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
-rw-r--r-- | net/xfrm/xfrm_policy.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 832b47c1de80..f052b069f983 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c | |||
@@ -2467,13 +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=" NIP6_FMT, | 2470 | audit_log_format(audit_buf, " src=%p6", sel->saddr.a6); |
2471 | NIP6(*(struct in6_addr *)sel->saddr.a6)); | ||
2472 | if (sel->prefixlen_s != 128) | 2471 | if (sel->prefixlen_s != 128) |
2473 | audit_log_format(audit_buf, " src_prefixlen=%d", | 2472 | audit_log_format(audit_buf, " src_prefixlen=%d", |
2474 | sel->prefixlen_s); | 2473 | sel->prefixlen_s); |
2475 | audit_log_format(audit_buf, " dst=" NIP6_FMT, | 2474 | audit_log_format(audit_buf, " dst=%p6", sel->daddr.a6); |
2476 | NIP6(*(struct in6_addr *)sel->daddr.a6)); | ||
2477 | if (sel->prefixlen_d != 128) | 2475 | if (sel->prefixlen_d != 128) |
2478 | audit_log_format(audit_buf, " dst_prefixlen=%d", | 2476 | audit_log_format(audit_buf, " dst_prefixlen=%d", |
2479 | sel->prefixlen_d); | 2477 | sel->prefixlen_d); |