diff options
Diffstat (limited to 'openbsc/src/telnet_interface.c')
-rw-r--r-- | openbsc/src/telnet_interface.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/openbsc/src/telnet_interface.c b/openbsc/src/telnet_interface.c index 805dd127d..aa119b464 100644 --- a/openbsc/src/telnet_interface.c +++ b/openbsc/src/telnet_interface.c @@ -98,21 +98,16 @@ void telnet_init(struct gsm_network *network, int port) { bsc_register_fd(&server_socket); } +extern const char *openbsc_copyright; +extern const char *openbsc_version; + static void print_welcome(int fd) { int ret; static char *msg = - "Welcome to the OpenBSC Control interface\n" - "Copyright (C) 2008-2010 Harald Welte\n" - "Contributions by Daniel Willmann, Jan Lübbe, " - "Stefan Schmidt, Holger Freyther, Andreas Eversberg\n\n" - "License GPLv2+: GNU GPL version 2 or later " - "<http://gnu.org/licenses/gpl.html>\n" - "This is free software: you are free to change " - "and redistribute it.\n" - "There is NO WARRANTY, to the extent permitted " - "by law.\nType \"help\" to get a short introduction.\n"; + "Welcome to the OpenBSC Control interface\n"; ret = write(fd, msg, strlen(msg)); + ret = write(fd, openbsc_copyright, strlen(openbsc_copyright)); } int telnet_close_client(struct bsc_fd *fd) { |