]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/netfilter/ipvs/ip_vs_proto_ah_esp.c
net: replace NIPQUAD() in net/netfilter/
[linux-2.6-omap-h63xx.git] / net / netfilter / ipvs / ip_vs_proto_ah_esp.c
index 6ede88812044f312f3bc9064f75e8b3ac077d357..79f56c1e7c19b0ef771ed553ea90d743e736b9f8 100644 (file)
@@ -135,9 +135,8 @@ ah_esp_debug_packet_v4(struct ip_vs_protocol *pp, const struct sk_buff *skb,
        if (ih == NULL)
                sprintf(buf, "%s TRUNCATED", pp->name);
        else
-               sprintf(buf, "%s %u.%u.%u.%u->%u.%u.%u.%u",
-                       pp->name, NIPQUAD(ih->saddr),
-                       NIPQUAD(ih->daddr));
+               sprintf(buf, "%s %pI4->%pI4",
+                       pp->name, &ih->saddr, &ih->daddr);
 
        printk(KERN_DEBUG "IPVS: %s: %s\n", msg, buf);
 }