From d0fc9e80fe38105ae04c81bd3dca247591b4317e Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 29 Nov 2019 13:37:45 +0100 Subject: [PATCH] Remove dash from name used in VTY cmd prompt Others projects don't contain a dash in there, and it seems to cause problems with TTCN3 VTY expectations. Change-Id: I3430abb5fc622dec293457466e760de95fa3a05c --- osmoappdesc.py | 2 +- src/pcu_vty.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/osmoappdesc.py b/osmoappdesc.py index b3938f55..3bd418e4 100644 --- a/osmoappdesc.py +++ b/osmoappdesc.py @@ -18,7 +18,7 @@ app_configs = { "osmo-pcu": ["doc/examples/osmo-pcu.cfg"] } -apps = [(4240, "src/osmo-pcu", "Osmo-PCU", "osmo-pcu"), +apps = [(4240, "src/osmo-pcu", "OsmoPCU", "osmo-pcu"), ] vty_command = ["src/osmo-pcu", "-c", "doc/examples/osmo-pcu.cfg"] diff --git a/src/pcu_vty.c b/src/pcu_vty.c index afc8a9ba..26d0b18b 100644 --- a/src/pcu_vty.c +++ b/src/pcu_vty.c @@ -1215,7 +1215,7 @@ static const char pcu_copyright[] = "There is NO WARRANTY, to the extent permitted by law.\r\n"; struct vty_app_info pcu_vty_info = { - .name = "Osmo-PCU", + .name = "OsmoPCU", .version = PACKAGE_VERSION, .copyright = pcu_copyright, .go_parent_cb = pcu_vty_go_parent,