Re: multicast: propagate rdomain for add_vif

2016-12-12 Thread Martin Pieuchot
On 12/12/16(Mon) 16:35, Mike Belopuhov wrote: > On Mon, Dec 12, 2016 at 16:15 +0100, Martin Pieuchot wrote: > > [...] > > Why pass the socket to add_vif() when you only need the rdomain? > > > > It makes add_vif take same arguments as some other functions called > from ip_mrouter_set in that swit

Re: multicast: propagate rdomain for add_vif

2016-12-12 Thread Mike Belopuhov
On Mon, Dec 12, 2016 at 16:15 +0100, Martin Pieuchot wrote: > On 12/12/16(Mon) 16:09, Rafael Zalamena wrote: > > After trying to run igmpproxy daemon in different rdomains I noted that > > it fails with the following message: > > " > > ERRO: MRT_ADD_VIF; Errno(49): Can't assign requested address >

Re: multicast: propagate rdomain for add_vif

2016-12-12 Thread Martin Pieuchot
On 12/12/16(Mon) 16:09, Rafael Zalamena wrote: > After trying to run igmpproxy daemon in different rdomains I noted that > it fails with the following message: > " > ERRO: MRT_ADD_VIF; Errno(49): Can't assign requested address > " > > In the following line: > " > if ( setsockopt( MRouterFD, IP

multicast: propagate rdomain for add_vif

2016-12-12 Thread Rafael Zalamena
After trying to run igmpproxy daemon in different rdomains I noted that it fails with the following message: " ERRO: MRT_ADD_VIF; Errno(49): Can't assign requested address " In the following line: " if ( setsockopt( MRouterFD, IPPROTO_IP, MRT_ADD_VIF, (char *)&VifCtl, size