From: Hoang Le <[email protected]> Date: Thu, 11 Oct 2018 08:43:08 +0700
> INADDR_ANY is hard-coded when activating UDP bearer. So, we could not > bind to a specific IP address even with replicast mode using - given > remote ip address instead of using multicast ip address. > > In this commit, we fixed it by checking and switch to use appropriate > local ip address. > > before: > $netstat -plu > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address > udp 0 0 **0.0.0.0:6118** 0.0.0.0:* > > after: > $netstat -plu > Active Internet connections (only servers) > Proto Recv-Q Send-Q Local Address Foreign Address > udp 0 0 **10.0.0.2:6118** 0.0.0.0:* > > Acked-by: Ying Xue <[email protected]> > Acked-by: Jon Maloy <[email protected]> > Signed-off-by: Hoang Le <[email protected]> Applied. _______________________________________________ tipc-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tipc-discussion
