aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty/Makefile.am
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-23 14:01:41 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-02-25 11:02:34 +0100
commit96172f01002a64359bbe643c4a0d3cfa9a929b56 (patch)
treea23a2ca497877e198153a08415383e6038b4c060 /src/vty/Makefile.am
parentcc00bf8779f48fd1e592fc7d0a60fc00b04826cd (diff)
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.
Diffstat (limited to 'src/vty/Makefile.am')
0 files changed, 0 insertions, 0 deletions