summaryrefslogtreecommitdiffstats
path: root/src/vty
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-16 11:59:44 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-16 12:03:46 +0200
commit9c3cbfb01eb25a7cec63d3d351cd2e2ba7e0c35b (patch)
tree2e1f841f4fcd943067133af13ba65bef058be228 /src/vty
parent95b2b47b262a7d50c22e195823d3d2cd290b0fe4 (diff)
telnet_interface: get rid of 'const' warning
Diffstat (limited to 'src/vty')
-rw-r--r--src/vty/telnet_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/telnet_interface.c b/src/vty/telnet_interface.c
index c08a256a..7631f804 100644
--- a/src/vty/telnet_interface.c
+++ b/src/vty/telnet_interface.c
@@ -97,7 +97,7 @@ static void print_welcome(int fd)
int ret;
static const char *msg1 = "Welcome to the ";
static const char *msg2 = " control interface\r\n";
- char *app_name = "<unnamed>";
+ const char *app_name = "<unnamed>";
if (host.app_info->name)
app_name = host.app_info->name;