From e43f8e040029a1bd72f23e139a787225ae2686a6 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 16 Apr 2016 12:52:55 -0400 Subject: 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. --- openbsc/src/osmo-bsc_nat/bsc_nat_vty.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'openbsc') 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; -- cgit v1.2.3