diff options
author | Oliver Smith <osmith@sysmocom.de> | 2018-10-23 15:35:43 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2018-10-30 16:25:29 +0100 |
commit | 8d8d710a281f5e284ce17c531e85ab5b2f1e5bce (patch) | |
tree | 9fd5226419c7598c49e4afb51494841b87d9e5bc /src/osmo-bsc/bsc_init.c | |
parent | a5ff9741bd56b8f4300b55909de9f4a8f89b4a44 (diff) |
vty: add 'show rejected-bts'
Print IDs and IPs of recently rejected BTS devices. Example output:
OsmoBSC> show rejected-bts
Date Site ID BTS ID IP
------------------- ------- ------ ---------------
2018-10-25 09:36:28 1234 0 192.168.1.37
Related: OS#2841
Change-Id: Iba3bfe8fc9432b7ae8f819df8bd71b35b3ec507e
Diffstat (limited to 'src/osmo-bsc/bsc_init.c')
-rw-r--r-- | src/osmo-bsc/bsc_init.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osmo-bsc/bsc_init.c b/src/osmo-bsc/bsc_init.c index b1388b8cf..2f44b200a 100644 --- a/src/osmo-bsc/bsc_init.c +++ b/src/osmo-bsc/bsc_init.c @@ -257,6 +257,7 @@ static struct gsm_network *bsc_network_init(void *ctx) return NULL; } + INIT_LLIST_HEAD(&net->bts_rejected); gsm_net_update_ctype(net); /* |