summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
{