]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - net/ipv6/tcp_ipv6.c
net: replace NIPQUAD() in net/ipv4/ net/ipv6/
[mv-sheeva.git] / net / ipv6 / tcp_ipv6.c
index b6b356b7912a57c298a542731c2c9daf24a77bbc..984276463a8ddf709e10c56c284ad85fc17e8fd1 100644 (file)
@@ -872,12 +872,10 @@ static int tcp_v6_inbound_md5_hash (struct sock *sk, struct sk_buff *skb)
 
        if (genhash || memcmp(hash_location, newhash, 16) != 0) {
                if (net_ratelimit()) {
-                       printk(KERN_INFO "MD5 Hash %s for "
-                              "(" NIP6_FMT ", %u)->"
-                              "(" NIP6_FMT ", %u)\n",
+                       printk(KERN_INFO "MD5 Hash %s for (%pI6, %u)->(%pI6, %u)\n",
                               genhash ? "failed" : "mismatch",
-                              NIP6(ip6h->saddr), ntohs(th->source),
-                              NIP6(ip6h->daddr), ntohs(th->dest));
+                              &ip6h->saddr, ntohs(th->source),
+                              &ip6h->daddr, ntohs(th->dest));
                }
                return 1;
        }