summaryrefslogtreecommitdiffstats
path: root/src/vty/telnet_interface.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-07-27 21:47:59 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-07-27 21:47:59 +0700
commit0ba357343be2559d367c3a2ec036bde6968bb941 (patch)
tree2d42f6b45eedcdec26646c5a4b36367948b46a22 /src/vty/telnet_interface.c
parent0d8da790df34bd2a844015c236413daf34a6544f (diff)
vty/telnet_interface.c: use DLGLOBAL logging sub-system
Change-Id: I1564f4714a33d36792e4982deb8f19d1b740dc0c
Diffstat (limited to 'src/vty/telnet_interface.c')
-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 a1fc9990..c16b0b16 100644
--- a/src/vty/telnet_interface.c
+++ b/src/vty/telnet_interface.c
@@ -169,7 +169,7 @@ static int telnet_new_connection(struct osmo_fd *fd, unsigned int what)
int rc;
if (new_connection < 0) {
- LOGP(0, LOGL_ERROR, "telnet accept failed\n");
+ LOGP(DLGLOBAL, LOGL_ERROR, "telnet accept failed\n");
return new_connection;
}
@@ -188,7 +188,7 @@ static int telnet_new_connection(struct osmo_fd *fd, unsigned int what)
connection->vty = vty_create(new_connection, connection);
if (!connection->vty) {
- LOGP(0, LOGL_ERROR, "couldn't create VTY\n");
+ LOGP(DLGLOBAL, LOGL_ERROR, "couldn't create VTY\n");
/* vty_create() is already closing the fd if it returns NULL */
talloc_free(connection);
return -1;