summaryrefslogtreecommitdiffstats
path: root/include/osmocom/vty/vty.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/vty/vty.h')
-rw-r--r--include/osmocom/vty/vty.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/osmocom/vty/vty.h b/include/osmocom/vty/vty.h
index 02ba03ee..c4cf707a 100644
--- a/include/osmocom/vty/vty.h
+++ b/include/osmocom/vty/vty.h
@@ -210,6 +210,8 @@ int vty_go_parent(struct vty *vty);
/* Return IP address passed to the 'line vty'/'bind' command, or "127.0.0.1" */
const char *vty_get_bind_addr(void);
+/** Returns configured port passed to the 'line vty'/'bind' command or default_port. */
+int vty_get_bind_port(int default_port);
extern void *tall_vty_ctx;