diff options
Diffstat (limited to 'net/ipv4/arp.c')
-rw-r--r-- | net/ipv4/arp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c index 3ce2e137e7bc..68b72a7a1806 100644 --- a/net/ipv4/arp.c +++ b/net/ipv4/arp.c | |||
@@ -1310,7 +1310,7 @@ static void arp_format_neigh_entry(struct seq_file *seq, | |||
1310 | #if defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE) | 1310 | #if defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE) |
1311 | } | 1311 | } |
1312 | #endif | 1312 | #endif |
1313 | sprintf(tbuf, "%u.%u.%u.%u", NIPQUAD(*(u32*)n->primary_key)); | 1313 | sprintf(tbuf, NIPQUAD_FMT, NIPQUAD(*(u32*)n->primary_key)); |
1314 | seq_printf(seq, "%-16s 0x%-10x0x%-10x%s * %s\n", | 1314 | seq_printf(seq, "%-16s 0x%-10x0x%-10x%s * %s\n", |
1315 | tbuf, hatype, arp_state_to_flags(n), hbuffer, dev->name); | 1315 | tbuf, hatype, arp_state_to_flags(n), hbuffer, dev->name); |
1316 | read_unlock(&n->lock); | 1316 | read_unlock(&n->lock); |
@@ -1323,7 +1323,7 @@ static void arp_format_pneigh_entry(struct seq_file *seq, | |||
1323 | int hatype = dev ? dev->type : 0; | 1323 | int hatype = dev ? dev->type : 0; |
1324 | char tbuf[16]; | 1324 | char tbuf[16]; |
1325 | 1325 | ||
1326 | sprintf(tbuf, "%u.%u.%u.%u", NIPQUAD(*(u32*)n->key)); | 1326 | sprintf(tbuf, NIPQUAD_FMT, NIPQUAD(*(u32*)n->key)); |
1327 | seq_printf(seq, "%-16s 0x%-10x0x%-10x%s * %s\n", | 1327 | seq_printf(seq, "%-16s 0x%-10x0x%-10x%s * %s\n", |
1328 | tbuf, hatype, ATF_PUBL | ATF_PERM, "00:00:00:00:00:00", | 1328 | tbuf, hatype, ATF_PUBL | ATF_PERM, "00:00:00:00:00:00", |
1329 | dev ? dev->name : "*"); | 1329 | dev ? dev->name : "*"); |