hnbgw should reconnect to CN

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

Neels Hofmeyr nhofmeyr at sysmocom.de
Thu Feb 11 15:35:01 UTC 2016


On Thu, Feb 11, 2016 at 07:54:11AM +0100, Holger Freyther wrote:
> In the hnbgw somebody needs to call logging_vty_add_cmds.

sounds simple enough :)
And it worked! thanks!

> > I did find that much: the reconnect flag passed to
> >  osmo_stream_cli_open2()
> > is effective only while state == STREAM_CLI_STATE_CONNECTING, i.e. until a
> > first connection is established. Now, if upon disconnect, something were
> > to set the state back to
> >  cli->state = STREAM_CLI_STATE_CONNECTING
> > my guess is that the cli_timer_cb() would indeed attempt to reconnect as I
> > intend.
> 
> Which library and which branch is this coming from? 

Ah, sorry, it's on:
  libosmo-netif
  branch sysmocom/sctp
  src/stream.c


hold on, weren't you supposed to do your tax reports today? ;)

~Neels

-- 
- Neels Hofmeyr <nhofmeyr at sysmocom.de>          http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschäftsführer / Managing Directors: Holger Freyther, Harald Welte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20160211/351db7e1/attachment.bin>


More information about the OpenBSC mailing list