aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-04-27 01:24:10 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-27 17:26:48 -0400
commit5e2c433d9f84dd9b0e01ef8607380d53a7f64d69 (patch)
treec43f9f0a327ecb6c9393e03b383b8895fb8530bd /net/xfrm
parent653252c2302cdf2dfbca66a7e177f7db783f9efa (diff)
[XFRM] AUDIT: Fix flowlabel text format ambibuity.
Flowlabel text format was not correct and thus ambiguous. For example, 0x00123 or 0x01203 are formatted as 0x123. This is not what audit tools want. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm')
-rw-r--r--net/xfrm/xfrm_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 5dcc10b93c86..fac27ce770d5 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -2112,7 +2112,7 @@ static void xfrm_audit_helper_pktinfo(struct sk_buff *skb, u16 family,
2112 iph6 = ipv6_hdr(skb); 2112 iph6 = ipv6_hdr(skb);
2113 audit_log_format(audit_buf, 2113 audit_log_format(audit_buf,
2114 " src=" NIP6_FMT " dst=" NIP6_FMT 2114 " src=" NIP6_FMT " dst=" NIP6_FMT
2115 " flowlbl=0x%x%x%x", 2115 " flowlbl=0x%x%02x%02x",
2116 NIP6(iph6->saddr), 2116 NIP6(iph6->saddr),
2117 NIP6(iph6->daddr), 2117 NIP6(iph6->daddr),
2118 iph6->flow_lbl[0] & 0x0f, 2118 iph6->flow_lbl[0] & 0x0f,