Common library for all Osmocom projects (libosmocore, libosmogsm, libosmovty, libosmogb, libosmosim, libosmousb, ...) https://osmocom.org/projects/libosmocore
Go to file
Neels Hofmeyr 96172f0100 vty: add bind command for telnet vty line
Add VTY command
    line vty
     bind A.B.C.D

The command merely stores the configured IP-address, which can then be used by
the calling main program to set the telnet port of the VTY line. (Commits in
openbsc and osmo-iuh will follow up on this.)

Add function vty_get_bind_addr() to publish the address in the vty.h API.

Add static vty_bind_addr to store.

For allocation/freeing reasons, a NULL address defaults to 127.0.0.1.

BTW, I decided against allowing keywords 'any' and 'localhost' in place of an
actual IP address to make sure a written config is always identical to the
parsed config.
2016-02-25 11:02:34 +01:00
debian debian: Avoid linking with -Bsymbolic-functions 2016-01-18 13:52:59 +01:00
doc vty: Merge from a generic section in case no specific one exists 2012-07-25 17:35:52 +02:00
include vty: add bind command for telnet vty line 2016-02-25 11:02:34 +01:00
m4 Create a dummy m4 directory to make autoreconf --install --force work 2010-03-24 02:55:33 +01:00
src vty: add bind command for telnet vty line 2016-02-25 11:02:34 +01:00
tests gb: Add bssgp_msgb_copy function 2016-02-22 10:20:49 +01:00
utils utils: add TALLOC_CFLAGS to build 2015-12-08 14:14:29 +01:00
.gitignore Add T4 bit map compression routines 2016-02-18 19:45:44 +01:00
COPYING add GPL to project source 2010-02-21 09:21:30 +01:00
Doxyfile.codec.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Doxyfile.core.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Doxyfile.gsm.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Doxyfile.vty.in misc: Doxygen tweaks: fixed some typos and minor errors 2013-02-15 13:27:59 +01:00
Makefile.am remove doxygen_sqlite3.db during 'make clean' 2014-10-26 20:09:17 +01:00
TODO-RELEASE Extend L1SAP PH-DATA with presence information 2016-02-22 11:08:44 +01:00
configure.ac remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
git-version-gen add git-version-gen magic to automatically generate package version 2010-03-23 00:30:19 +08:00
libosmocodec.pc.in codec: Add the missing bits for include to install and pkgconfig to work 2010-10-24 18:23:10 +02:00
libosmocore.pc.in talloc: Untested change to unbreak build 2015-12-10 19:50:29 +01:00
libosmoctrl.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmogb.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmogsm.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmosim.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00
libosmovty.pc.in remove our internal copy of talloc, use system libtalloc 2015-12-05 23:38:18 +01:00