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(a)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