aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/sctp/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index 4f270ac48226..4de77cb80d88 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -566,7 +566,7 @@ static void sctp_v4_get_saddr(struct sctp_sock *sk,
566 566
567 if (rt) { 567 if (rt) {
568 saddr->v4.sin_family = AF_INET; 568 saddr->v4.sin_family = AF_INET;
569 saddr->v4.sin_addr.s_addr = rt->rt_src; 569 saddr->v4.sin_addr.s_addr = fl->u.ip4.saddr;
570 } 570 }
571} 571}
572 572