Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/11778 )

Change subject: bsc: vty: Use enum value in neighbor-list check
......................................................................

bsc: vty: Use enum value in neighbor-list check

Change-Id: I7c0b42bfed749f18b8ab2331475f3da35b02f456
---
M src/osmo-bsc/bsc_vty.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, but someone else must approve
  Harald Welte: Looks good to me, approved



diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index 9115c01..b9a5268 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -3112,7 +3112,7 @@
        struct bitvec *bv = &bts->si_common.neigh_list;
        uint16_t arfcn = atoi(argv[1]);

-       if (!bts->neigh_list_manual_mode) {
+       if (bts->neigh_list_manual_mode == NL_MODE_AUTOMATIC) {
                vty_out(vty, "%% Cannot configure neighbor list in "
                        "automatic mode%s", VTY_NEWLINE);
                return CMD_WARNING;

--
To view, visit https://gerrit.osmocom.org/11778
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7c0b42bfed749f18b8ab2331475f3da35b02f456
Gerrit-Change-Number: 11778
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de>
Gerrit-Reviewer: Harald Welte <lafo...@gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <axilira...@gmail.com>

Reply via email to