diff options
Diffstat (limited to 'src/osmo-bsc/neighbor_ident_vty.c')
-rw-r--r-- | src/osmo-bsc/neighbor_ident_vty.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/osmo-bsc/neighbor_ident_vty.c b/src/osmo-bsc/neighbor_ident_vty.c index b9160ec67..12aca9d16 100644 --- a/src/osmo-bsc/neighbor_ident_vty.c +++ b/src/osmo-bsc/neighbor_ident_vty.c @@ -183,6 +183,10 @@ static int add_neighbor(struct vty *vty, struct neighbor *n) neighbor = talloc_zero(bts, struct neighbor); *neighbor = *n; llist_add_tail(&neighbor->entry, &bts->neighbors); + + if (vty->type != VTY_FILE) + gsm_bts_set_system_infos(bts); + return CMD_SUCCESS; } @@ -213,6 +217,10 @@ static int del_neighbor(struct vty *vty, struct neighbor *n) llist_del(&neighbor->entry); talloc_free(neighbor); + + if (vty->type != VTY_FILE) + gsm_bts_set_system_infos(bts); + return CMD_SUCCESS; } |