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.
This commit is contained in:
Holger Hans Peter Freyther 2016-04-16 12:52:55 -04:00
parent 59a1bf3dae
commit e43f8e0400
1 changed files with 1 additions and 4 deletions

View File

@ -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;