]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - net/ipv6/netfilter/ip6t_LOG.c
netfilter: ip6t_LOG: fix a flaw in printing the MAC
[linux-3.10.git] / net / ipv6 / netfilter / ip6t_LOG.c
index 09c88891a753e725d8594edc68941b293d171100..de338037a7362cf55255b35f8653d21a219b6915 100644 (file)
@@ -410,7 +410,7 @@ fallback:
                if (p != NULL) {
                        sb_add(m, "%02x", *p++);
                        for (i = 1; i < len; i++)
-                               sb_add(m, ":%02x", p[i]);
+                               sb_add(m, ":%02x", *p++);
                }
                sb_add(m, " ");