aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2018-12-22 03:23:43 +0000
committerHarald Welte <laforge@gnumonks.org>2018-12-22 18:33:22 +0000
commitd8d0ef6b5c1431645a467d173bd14399f2e9fef7 (patch)
tree42723521d6547c906ac9b631d77b41af3d056582 /src/vty
parentcf6ee64423480137d15f6277144c1460756947dc (diff)
vty: The telnet interface is TCP only. Fix the comments
Diffstat (limited to 'src/vty')
-rw-r--r--src/vty/telnet_interface.c4
1 files 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)
{