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.
This commit is contained in:
Neels Hofmeyr 2015-12-13 15:21:46 +01:00
parent 0a8cf32a48
commit 4adca4e8af
1 changed files with 1 additions and 1 deletions

View File

@ -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