Change in osmo-bsc[master]: bsc: vty: Use enum value in neighbor-list check

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Nov 15 11:56:52 UTC 2018


Pau Espin Pedrol has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/78/11778/1

diff --git a/src/osmo-bsc/bsc_vty.c b/src/osmo-bsc/bsc_vty.c
index 8eb0692..3a52949 100644
--- a/src/osmo-bsc/bsc_vty.c
+++ b/src/osmo-bsc/bsc_vty.c
@@ -3107,7 +3107,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: newchange
Gerrit-Change-Id: I7c0b42bfed749f18b8ab2331475f3da35b02f456
Gerrit-Change-Number: 11778
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181115/b149c235/attachment.html>


More information about the gerrit-log mailing list