One bug in bsc_hack.c

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/.

Harald Welte laforge at gnumonks.org
Mon Aug 10 09:47:58 UTC 2009


On Mon, Aug 10, 2009 at 08:24:03AM +0200, Holger Freyther wrote:

> I compiled with -Wall -Werror and fixed the easy ones. While doing it I 
> encountered one bug in the bsc_hack.c..

great, thanks a lot!

> int ipaccess_setup(struct gsm_network *gsmnet) is called with a struct 
> gsm_bts*... The current ipaccess_setup need to be called once per network (as 
> we should only bind to the address once...).

yes, that is a side-effect of me merging the recent stuff into master,
sorry for that.

> any idea what to do?

just call the function once during startup, even unconditionally is fine with
me.

-- 
- Harald Welte <laforge at gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)




More information about the OpenBSC mailing list