net: replace uses of NIP6_FMT with %p6
[firefly-linux-kernel-4.4.55.git] / net / ipv6 / esp6.c
index b181b08fb761c4f9cab3e4f06dfc439734213298..ec4be188c341ebb96e3cdef68e5c7b5f23de2e02 100644 (file)
@@ -367,8 +367,8 @@ static void esp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
        x = xfrm_state_lookup((xfrm_address_t *)&iph->daddr, esph->spi, IPPROTO_ESP, AF_INET6);
        if (!x)
                return;
-       printk(KERN_DEBUG "pmtu discovery on SA ESP/%08x/" NIP6_FMT "\n",
-                       ntohl(esph->spi), NIP6(iph->daddr));
+       printk(KERN_DEBUG "pmtu discovery on SA ESP/%08x/%p6\n",
+                       ntohl(esph->spi), &iph->daddr);
        xfrm_state_put(x);
 }