misc: replace NIPQUAD()
Using NIPQUAD() with NIPQUAD_FMT, %d.%d.%d.%d or %u.%u.%u.%u can be replaced with %pI4 Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
be85940548
commit
3685f25de1
5 changed files with 10 additions and 10 deletions
|
@ -291,9 +291,9 @@ extern int sctp_debug_flag;
|
|||
otherparms); \
|
||||
} else { \
|
||||
printk(KERN_DEBUG \
|
||||
lead NIPQUAD_FMT trail, \
|
||||
lead "%pI4" trail, \
|
||||
leadparm, \
|
||||
NIPQUAD(saddr->v4.sin_addr.s_addr), \
|
||||
&saddr->v4.sin_addr.s_addr, \
|
||||
otherparms); \
|
||||
} \
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue