summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-13 11:36:33 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-08-13 11:36:33 +0200
commit996215123011272d524dea859407b3c7e2aab2fd (patch)
treeb138fc6343583f060f40a99ac69d3827484d7adc
parent3db24b5fe4d169afcde9195d2255b7a7f342d0bc (diff)
nat: Misc changes spotted while going through the file with Jacob
* Spell Configure correctly * Use %s and VTY_NEWLINE instead of \n
-rw-r--r--openbsc/src/osmo-bsc_nat/bsc_nat_vty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
index 0cac794..6ab48d6 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat_vty.c
@@ -366,11 +366,11 @@ DEFUN(show_msc,
"Status of the A-link connection\n")
{
if (!_nat->msc_con) {
- vty_out(vty, "The MSC is not yet configured.\n");
+ vty_out(vty, "The MSC is not yet configured.%s", VTY_NEWLINE);
return CMD_WARNING;
}
- vty_out(vty, "MSC is connected: %d%s\n",
+ vty_out(vty, "MSC is connected: %d%s",
_nat->msc_con->is_connected, VTY_NEWLINE);
return CMD_SUCCESS;
}
@@ -393,7 +393,7 @@ DEFUN(close_bsc,
return CMD_SUCCESS;
}
-DEFUN(cfg_nat, cfg_nat_cmd, "nat", "Configute the NAT")
+DEFUN(cfg_nat, cfg_nat_cmd, "nat", "Configure the NAT")
{
vty->index = _nat;
vty->node = NAT_NODE;