osmo_mcast_sock: make sure SO_REUSEADDR is applied
commit072f04fea4bc49fb3dfef1629861aa1ba91f68ec
authorPhilipp Maier <pmaier@sysmocom.de>
Thu, 23 Aug 2018 18:30:39 +0000 (23 20:30 +0200)
committerHarald Welte <laforge@gnumonks.org>
Fri, 24 Aug 2018 06:48:52 +0000 (24 06:48 +0000)
tree8a78b0a6e168331d27ee62c7b74880877c6f7cc6
parentc7c0a22b9a5d1fbf8851d76842be0eba0d94a25e
osmo_mcast_sock: make sure SO_REUSEADDR is applied

virtphy uses UDP multicast to communicate with its osmo-bts-virtual
counterpart. At the momemnt SO_REUSEADDR is not applied for those
multicast connections because OSMO_SOCK_F_UDP_REUSEADDR is not set. This
makes prevents the proper function of UDP multicast.

- Make sure OSMO_SOCK_F_UDP_REUSEADDR is set

Change-Id: Ia1014ac5e0522e77178249cdc6398dec2168bffe
Depends: libosmocore I1399a428467ca12f1564a14eb8ffb294d4f59874
Related: OS#3497
src/host/virt_phy/src/shared/osmo_mcast_sock.c