netfilter: ipt_LOG/ip6t_LOG: remove comparison within loop
authorPatrick McHardy <kaber@trash.net>
Mon, 28 Jun 2010 12:12:41 +0000 (14:12 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 28 Jun 2010 12:12:41 +0000 (14:12 +0200)
commitcf377eb4aeded926375d4d0fe0b66ba95f0521e1
tree010628b36c81d050f4189fb8e94f0cdec60dc3c0
parentd70a011dbbaa6335a19deb63ec3eb613f48faafd
netfilter: ipt_LOG/ip6t_LOG: remove comparison within loop

Remove the comparison within the loop to print the macheader by prepending
the colon to all but the first printk.

Based on suggestion by Jan Engelhardt <jengelh@medozas.de>.

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/ipt_LOG.c
net/ipv6/netfilter/ip6t_LOG.c