[PATCH 6/6] ipaccess-proxy: remove hardcoded IP for options `-l' and `-b'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Pablo Neira Ayuso pablo at gnumonks.org
Thu Apr 7 16:50:32 UTC 2011


On 07/04/11 14:42, Holger Hans Peter Freyther wrote:
> On 04/07/2011 02:27 PM, pablo at gnumonks.org wrote:
> 
>>  	}
>> +	if (!((options_mask & (IPA_PROXY_OPT_LISTEN_IP | IPA_PROXY_OPT_BSC_IP))
>> +		 == (IPA_PROXY_OPT_LISTEN_IP | IPA_PROXY_OPT_BSC_IP))) {
> 
> 
> why not != ?

Yes, != looks more readable. Although the line above works fine.

I have forced a push with this change that you propose to the
pablo/cleanups branch.

New patch attached.


More information about the OpenBSC mailing list