summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_sideeffect.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 17:22:43 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:27:01 -0800
commitb3f5b3b6654422bb0a6ef745fe4d11a4f01d006a (patch)
tree258b35b5b3eb721db94872f1a86806175b0a5ef4 /net/sctp/sm_sideeffect.c
parent74af924ab6562717ef9aab1061ec05bbbf31d979 (diff)
downloadblackbird-op-linux-b3f5b3b6654422bb0a6ef745fe4d11a4f01d006a.tar.gz
blackbird-op-linux-b3f5b3b6654422bb0a6ef745fe4d11a4f01d006a.zip
[SCTP]: Trivial ->ipaddr_h -> ->ipaddr conversions.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/sm_sideeffect.c')
-rw-r--r--net/sctp/sm_sideeffect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c
index a11bd4ff9303..c512ce491834 100644
--- a/net/sctp/sm_sideeffect.c
+++ b/net/sctp/sm_sideeffect.c
@@ -441,8 +441,8 @@ static void sctp_do_8_2_transport_strike(struct sctp_association *asoc,
SCTP_DEBUG_PRINTK_IPADDR("transport_strike:association %p",
" transport IP: port:%d failed.\n",
asoc,
- (&transport->ipaddr_h),
- transport->ipaddr_h.v4.sin_port);
+ (&transport->ipaddr),
+ ntohs(transport->ipaddr.v4.sin_port));
sctp_assoc_control_transport(asoc, transport,
SCTP_TRANSPORT_DOWN,
SCTP_FAILED_THRESHOLD);
OpenPOWER on IntegriCloud