diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-10-31 10:53:57 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-31 10:53:57 +0300 |
commit | 673d57e72398edfedc93fb50ff58048077c9d587 (patch) | |
tree | 4c6a83072ac64ef63ad73574c3e1c0a683524163 /net/ipv4/ipcomp.c | |
parent | cffee385d7f367e80b288abf4261256477f7760e (diff) | |
download | linux-673d57e72398edfedc93fb50ff58048077c9d587.tar.xz |
net: replace NIPQUAD() in net/ipv4/ net/ipv6/
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 'net/ipv4/ipcomp.c')
-rw-r--r-- | net/ipv4/ipcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ipcomp.c b/net/ipv4/ipcomp.c index 38ccb6dfb02e..ec8264ae45c2 100644 --- a/net/ipv4/ipcomp.c +++ b/net/ipv4/ipcomp.c @@ -39,8 +39,8 @@ static void ipcomp4_err(struct sk_buff *skb, u32 info) spi, IPPROTO_COMP, AF_INET); if (!x) return; - NETDEBUG(KERN_DEBUG "pmtu discovery on SA IPCOMP/%08x/" NIPQUAD_FMT "\n", - spi, NIPQUAD(iph->daddr)); + NETDEBUG(KERN_DEBUG "pmtu discovery on SA IPCOMP/%08x/%pI4\n", + spi, &iph->daddr); xfrm_state_put(x); } |