MINOR: stream: Use backend stream-interface dst address instead of target_addr
target_addr field in the stream structure is removed. The backend
stream-interface destination address is now used.
diff --git a/src/peers.c b/src/peers.c
index 09aacca..94ef22e 100644
--- a/src/peers.c
+++ b/src/peers.c
@@ -3215,7 +3215,7 @@
/* initiate an outgoing connection */
s->target = peer_session_target(peer, s);
- if (!sockaddr_alloc(&s->target_addr, &peer->addr, sizeof(peer->addr)))
+ if (!sockaddr_alloc(&s->si[1].dst, &peer->addr, sizeof(peer->addr)))
goto out_free_strm;
s->flags = SF_ASSIGNED|SF_ADDR_SET;
s->si[1].flags |= SI_FL_NOLINGER;