]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/netfilter/ipvs/ip_vs_ctl.c
net: replace NIPQUAD() in net/netfilter/
[linux-2.6-omap-h63xx.git] / net / netfilter / ipvs / ip_vs_ctl.c
index 76db27ec96335543a9980caba898304080baa64a..98e0a65646a1f349c2564d32323cfc18b23cf922 100644 (file)
@@ -2141,8 +2141,8 @@ do_ip_vs_set_ctl(struct sock *sk, int cmd, void __user *user, unsigned int len)
 
        /* Check for valid protocol: TCP or UDP, even for fwmark!=0 */
        if (usvc.protocol != IPPROTO_TCP && usvc.protocol != IPPROTO_UDP) {
-               IP_VS_ERR("set_ctl: invalid protocol: %d %d.%d.%d.%d:%d %s\n",
-                         usvc.protocol, NIPQUAD(usvc.addr.ip),
+               IP_VS_ERR("set_ctl: invalid protocol: %d %pI4:%d %s\n",
+                         usvc.protocol, &usvc.addr.ip,
                          ntohs(usvc.port), usvc.sched_name);
                ret = -EFAULT;
                goto out_unlock;