diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2018-12-22 03:23:43 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-12-22 18:33:22 +0000 |
commit | d8d0ef6b5c1431645a467d173bd14399f2e9fef7 (patch) | |
tree | 42723521d6547c906ac9b631d77b41af3d056582 /src | |
parent | cf6ee64423480137d15f6277144c1460756947dc (diff) |
vty: The telnet interface is TCP only. Fix the comments
Change-Id: I38555c4d4f565ce21dda34fc3857c47b3d802dbd
Diffstat (limited to 'src')
-rw-r--r-- | src/vty/telnet_interface.c | 4 |
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) { |