aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sctp/sctp.h
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2008-10-31 03:56:49 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-31 03:56:49 -0400
commit3685f25de1b0447fff381c420de1e25bd57c9efb (patch)
tree90a5d87c0ced1b27f654606d50a9ff13ded6f862 /include/net/sctp/sctp.h
parentbe859405487324ed548f1ba11dc949b8230ab991 (diff)
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>
Diffstat (limited to 'include/net/sctp/sctp.h')
-rw-r--r--include/net/sctp/sctp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/sctp.h b/include/net/sctp/sctp.h
index e71b0f7ce88e..23797506f593 100644
--- a/include/net/sctp/sctp.h
+++ b/include/net/sctp/sctp.h
@@ -291,9 +291,9 @@ extern int sctp_debug_flag;
291 otherparms); \ 291 otherparms); \
292 } else { \ 292 } else { \
293 printk(KERN_DEBUG \ 293 printk(KERN_DEBUG \
294 lead NIPQUAD_FMT trail, \ 294 lead "%pI4" trail, \
295 leadparm, \ 295 leadparm, \
296 NIPQUAD(saddr->v4.sin_addr.s_addr), \ 296 &saddr->v4.sin_addr.s_addr, \
297 otherparms); \ 297 otherparms); \
298 } \ 298 } \
299 } 299 }