From d8d0ef6b5c1431645a467d173bd14399f2e9fef7 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 22 Dec 2018 03:23:43 +0000 Subject: vty: The telnet interface is TCP only. Fix the comments Change-Id: I38555c4d4f565ce21dda34fc3857c47b3d802dbd --- src/vty/telnet_interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vty/telnet_interface.c b/src/vty/telnet_interface.c index fcb4c8db..47c45fcf 100644 --- a/src/vty/telnet_interface.c +++ b/src/vty/telnet_interface.c @@ -67,7 +67,7 @@ static struct osmo_fd server_socket = { /*! Initialize telnet based VTY interface listening to 127.0.0.1 * \param[in] tall_ctx \ref talloc context * \param[in] priv private data to be passed to callback - * \param[in] port UDP port number + * \param[in] port TCP port number to bind to */ int telnet_init(void *tall_ctx, void *priv, int port) { @@ -78,7 +78,7 @@ int telnet_init(void *tall_ctx, void *priv, int port) * \param[in] tall_ctx \ref talloc context * \param[in] priv private data to be passed to callback * \param[in] ip IP to listen to ('::1' for localhost, '::0' for all, ...) - * \param[in] port UDP port number + * \param[in] port TCP port number to bind to */ int telnet_init_dynif(void *tall_ctx, void *priv, const char *ip, int port) { -- cgit v1.2.3