aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-05-01 15:32:32 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-05-02 19:31:13 +0800
commit3fb44f3e61551add4ba1b1344b9e08c8799e0039 (patch)
tree74ddd11c263d0f68a61b1a3122222c4800feaeaa
parentd48bfe0e93bc1d420bbd1dc45490487240b83a51 (diff)
nat: Fix vty output for connected BSCs
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index 04b77de2..7160d696 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -112,7 +112,7 @@ DEFUN(show_bsc, show_bsc_cmd, "show bsc connections",
llist_for_each_entry(con, &_nat->bsc_connections, list_entry) {
getpeername(con->write_queue.bfd.fd, (struct sockaddr *) &sock, &len);
- vty_out(vty, "BSC lac: %d, %d auth: %d fd: %d peername: %s%s",
+ vty_out(vty, "BSC nr: %d lac: %d auth: %d fd: %d peername: %s%s",
con->cfg ? con->cfg->nr : -1,
con->cfg ? con->cfg->lac : -1,
con->authenticated, con->write_queue.bfd.fd,