summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-12-13 15:21:46 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2015-12-13 15:22:01 +0100
commit4adca4e8afd0478d5d52736c721ca7f25631c762 (patch)
tree5da14366a4a5d1baa6488f0a20e2a44a4fb60d68
parent0a8cf32a481efa39bd81b027a50dd8f8f408a39a (diff)
osmoappdesc.py: fix wrong index introduced by gtphub.
vty_app should reference osmo-nitb, but by adding gtphub, apps[-1] has changed. Use index 5, which won't change when adding further items.
-rw-r--r--openbsc/osmoappdesc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/osmoappdesc.py b/openbsc/osmoappdesc.py
index 67b0d3500..c21883be7 100644
--- a/openbsc/osmoappdesc.py
+++ b/openbsc/osmoappdesc.py
@@ -52,4 +52,4 @@ apps = [(4242, "src/osmo-bsc/osmo-bsc", "OsmoBSC", "osmo-bsc"),
vty_command = ["./src/osmo-nitb/osmo-nitb", "-c",
"doc/examples/osmo-nitb/nanobts/openbsc.cfg"]
-vty_app = apps[-1]
+vty_app = apps[5] # reference apps[] entry for osmo-nitb