]> git.baikalelectronics.ru Git - kernel.git/commit
net: sctp_probe: simplify code by using %pISc format specifier
authorDaniel Borkmann <dborkman@redhat.com>
Thu, 22 Aug 2013 15:12:50 +0000 (17:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Aug 2013 05:07:06 +0000 (22:07 -0700)
commitf51bd03f2202b9815874e8ea331bc1cfb3d72f84
tree8fa5427bb1ba1c8f7404d6754bfdd4d8a1228981
parent7f4911af9f350b53e74a566970d2acab0d5a3b72
net: sctp_probe: simplify code by using %pISc format specifier

We can simply use the %pISc format specifier that was recently added
and thus remove some code that distinguishes between IPv4 and IPv6.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/probe.c