From: Joy Latten Date: Tue, 20 Mar 2007 01:47:26 +0000 (-0700) Subject: [XFRM]: ipsecv6 needs a space when printing audit record. X-Git-Tag: v2.6.21-rc5~45^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=961995582e3752e983dc3906a57546a188007440;p=platform%2Fkernel%2Flinux-stable.git [XFRM]: ipsecv6 needs a space when printing audit record. This patch adds a space between printing of the src and dst ipv6 addresses. Otherwise, audit or other test tools may fail to process the audit record properly because they cannot find the dst address. Signed-off-by: Joy Latten Signed-off-by: David S. Miller --- diff --git a/net/xfrm/xfrm_policy.c b/net/xfrm/xfrm_policy.c index 0c3a70a..785c3e3 100644 --- a/net/xfrm/xfrm_policy.c +++ b/net/xfrm/xfrm_policy.c @@ -2089,7 +2089,7 @@ void xfrm_audit_log(uid_t auid, u32 sid, int type, int result, sizeof(struct in6_addr)); } audit_log_format(audit_buf, - " src=" NIP6_FMT "dst=" NIP6_FMT, + " src=" NIP6_FMT " dst=" NIP6_FMT, NIP6(saddr6), NIP6(daddr6)); } break;