[PATCH] drop option -a and be independent from interface ip-address

Hannes Schmelzer hannes at schmelzer.or.at
Tue Mar 29 05:43:39 UTC 2016



On 28.03.2016 22:34, Sylvain Munaut wrote:
> On Mon, Mar 28, 2016 at 10:00 PM, Hannes Petermaier <oe5hpm at oevsv.at> wrote:
>> From: Hannes Schmelzer <oe5hpm at oevsv.at>
>>
>> It is very inconvenient to have some RTL-stick on a machine with
>> multiple network interfaces if it is bound to a specific one.
>>
>> So we break up this and make this dynamically.
>>
>> The -a option therefore is not needed any longer.
> ?!?
>
> And what if you _want_ to bind it to a specific IP ?
okay, i dissapeared this point of view.
Of course we cannot drop this.
> If you have several interface and just listen to all, just use -a 0.0.0.0 ...
I remember having trouble in the past with this during another project, 
i think it was if there where two subnets on same physical interface 
(agree, that isn't a normal situation, but existing).
Problem was that ip-stack used as source address always the first e.g. 
the lower one defined on the interface, this doesn't happen with the 
passive flag.

I will double check this again and resend some V2.
> Cheers,
>
>    Sylvain
best regards,
Hannes


More information about the osmocom-sdr mailing list