aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-04-16 12:52:55 -0400
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-04-16 15:56:13 -0400
commite43f8e040029a1bd72f23e139a787225ae2686a6 (patch)
tree8c6d3df48dad853fd07f1c64752e84f3cd700814 /openbsc
parent59a1bf3dae0d0a9e914d3c615c6aa7fc8955d7b5 (diff)
nat/vty: Do not print token update statement
On start this would print one line per BSC and this doesn't add a lot of value. Let's just remove this logging message.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat_vty.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
index 55f3dbf4f..3708bc2f1 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
@@ -881,11 +881,8 @@ DEFUN(cfg_bsc_token, cfg_bsc_token_cmd, "token TOKEN",
{
struct bsc_config *conf = vty->index;
- if (strncmp(conf->token, argv[0], 128) != 0) {
- vty_out(vty, "updated token: %s -> %s%s", conf->token, argv[0],
- VTY_NEWLINE);
+ if (strncmp(conf->token, argv[0], 128) != 0)
conf->token_updated = true;
- }
bsc_replace_string(conf, &conf->token, argv[0]);
return CMD_SUCCESS;