]> err.no Git - linux-2.6/commitdiff
[XFRM]: ipsecv6 needs a space when printing audit record.
authorJoy Latten <latten@austin.ibm.com>
Tue, 20 Mar 2007 01:47:26 +0000 (18:47 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 20 Mar 2007 07:09:47 +0000 (00:09 -0700)
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 <latten@austin.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c

index 0c3a70ac507545e6afef5d282c0460560e0ecdb5..785c3e39f06287681c2976193de7e41178cca979 100644 (file)
@@ -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;