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:
committed by
David S. Miller
parent
be85940548
commit
3685f25de1
@@ -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); \
|
||||
} \
|
||||
}
|
||||
|
Reference in New Issue
Block a user