]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/netfilter/ip6t_LOG.c
net: replace NIPQUAD() in net/ipv4/ net/ipv6/
[linux-2.6-omap-h63xx.git] / net / ipv6 / netfilter / ip6t_LOG.c
index 02885e8bb69bef025a0a3207a381c604de651a54..7c668c63f708ec8c06280fcb157d8d0faaa85c9e 100644 (file)
@@ -424,9 +424,8 @@ ip6t_log_packet(u_int8_t pf,
                        if (skb->dev->type == ARPHRD_SIT) {
                                const struct iphdr *iph =
                                        (struct iphdr *)skb_mac_header(skb);
-                               printk("TUNNEL=%u.%u.%u.%u->%u.%u.%u.%u ",
-                                      NIPQUAD(iph->saddr),
-                                      NIPQUAD(iph->daddr));
+                               printk("TUNNEL=%pI4->%pI4 ",
+                                      &iph->saddr, &iph->daddr);
                        }
                } else
                        printk(" ");