diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-04-16 12:52:55 -0400 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2016-04-16 15:56:13 -0400 |
commit | e43f8e040029a1bd72f23e139a787225ae2686a6 (patch) | |
tree | 8c6d3df48dad853fd07f1c64752e84f3cd700814 /openbsc/src/osmo-bsc_nat/bsc_nat_vty.c | |
parent | 59a1bf3dae0d0a9e914d3c615c6aa7fc8955d7b5 (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/src/osmo-bsc_nat/bsc_nat_vty.c')
-rw-r--r-- | openbsc/src/osmo-bsc_nat/bsc_nat_vty.c | 5 |
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; |