From 996215123011272d524dea859407b3c7e2aab2fd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 13 Aug 2013 11:36:33 +0200 Subject: nat: Misc changes spotted while going through the file with Jacob * Spell Configure correctly * Use %s and VTY_NEWLINE instead of \n --- openbsc/src/osmo-bsc_nat/bsc_nat_vty.c | 6 +++--- 1 file 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 0cac79470..6ab48d69e 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; -- cgit v1.2.3