]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/atm/clip.c
net: replace NIPQUAD() in net/*/
[net-next-2.6.git] / net / atm / clip.c
index 5b5b96344ce60fba334fb291a8fe21393aa8bb26..2d33a83be799c36dec054340553610d64e61070c 100644 (file)
@@ -822,8 +822,8 @@ static void atmarp_info(struct seq_file *seq, struct net_device *dev,
        seq_printf(seq, "%-6s%-4s%-4s%5ld ",
                   dev->name, svc ? "SVC" : "PVC", llc ? "LLC" : "NULL", exp);
 
-       off = scnprintf(buf, sizeof(buf) - 1, "%d.%d.%d.%d",
-                       NIPQUAD(entry->ip));
+       off = scnprintf(buf, sizeof(buf) - 1, "%pI4",
+                       &entry->ip);
        while (off < 16)
                buf[off++] = ' ';
        buf[off] = '\0';