mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 06:32:08 +00:00
net: replace %p6 with %pI6
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4b7a4274ca
commit
5b095d9892
49 changed files with 100 additions and 100 deletions
|
@ -168,7 +168,7 @@ static void ip_map_request(struct cache_detail *cd,
|
|||
ntohl(im->m_addr.s6_addr32[3]) >> 8 & 0xff,
|
||||
ntohl(im->m_addr.s6_addr32[3]) >> 0 & 0xff);
|
||||
} else {
|
||||
snprintf(text_addr, 40, "%p6", &im->m_addr);
|
||||
snprintf(text_addr, 40, "%pI6", &im->m_addr);
|
||||
}
|
||||
qword_add(bpp, blen, im->m_class);
|
||||
qword_add(bpp, blen, text_addr);
|
||||
|
@ -286,7 +286,7 @@ static int ip_map_show(struct seq_file *m,
|
|||
ntohl(addr.s6_addr32[3]) >> 0 & 0xff,
|
||||
dom);
|
||||
} else {
|
||||
seq_printf(m, "%s %p6 %s\n", im->m_class, &addr, dom);
|
||||
seq_printf(m, "%s %pI6 %s\n", im->m_class, &addr, dom);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue