aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/vty.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-11-09 18:29:54 +0100
committerHarald Welte <laforge@gnumonks.org>2016-12-01 15:21:52 +0000
commitb58aa60d785f4400ba6e21752d16ea01ac4c0a1f (patch)
tree420b9032bb105f87e2bd8cec0f8e4dba73c1d86c /src/common/vty.c
parent36153239bfd0b633c4d259a9de0a759f41197a2b (diff)
cosmetic: vty prompts: add space after '#'
Typically, our VTY prompts have space after the '#', but some of the osmo-bts VTY prompts don't: OsmoBTS# configure terminal OsmoBTS(config)# bts 0 OsmoBTS(bts)#gsmtap-sapi ccch Add spaces after the '#' to yield e.g. OsmoBTS(bts)# gsmtap-sapi ccch Change-Id: If0591a359e77f01abb76c4113181af7a7733ddd4
Diffstat (limited to 'src/common/vty.c')
-rw-r--r--src/common/vty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/vty.c b/src/common/vty.c
index 607b231a..0fffca0b 100644
--- a/src/common/vty.c
+++ b/src/common/vty.c
@@ -179,13 +179,13 @@ struct gsm_network *gsmnet_from_vty(struct vty *v)
static struct cmd_node bts_node = {
BTS_NODE,
- "%s(bts)#",
+ "%s(bts)# ",
1,
};
static struct cmd_node trx_node = {
TRX_NODE,
- "%s(trx)#",
+ "%s(trx)# ",
1,
};
@@ -897,13 +897,13 @@ DEFUN(cfg_trx_no_gsmtap_sapi, cfg_trx_no_gsmtap_sapi_cmd,
static struct cmd_node phy_node = {
PHY_NODE,
- "%s(phy)#",
+ "%s(phy)# ",
1,
};
static struct cmd_node phy_inst_node = {
PHY_INST_NODE,
- "%s(phy-inst)#",
+ "%s(phy-inst)# ",
1,
};