aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-04-06 12:01:15 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-04-06 12:03:11 +0200
commitfab2ff34c4d7d21247bd745e4b8c23dc92040882 (patch)
tree1e32616fa14d213cc6636f7b7d7070e6b1fb8af7 /openbsc
parent06d353e02e6d2e5a4328fd37042b0c623c945031 (diff)
nat: Add logging commands for the nat as well.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/src/nat/bsc_nat_vty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/src/nat/bsc_nat_vty.c b/openbsc/src/nat/bsc_nat_vty.c
index ad33fd6fb..d5f83ebdd 100644
--- a/openbsc/src/nat/bsc_nat_vty.c
+++ b/openbsc/src/nat/bsc_nat_vty.c
@@ -26,6 +26,7 @@
#include <openbsc/bsc_nat.h>
#include <openbsc/gsm_04_08.h>
#include <openbsc/mgcp.h>
+#include <openbsc/vty.h>
#include <osmocore/talloc.h>
@@ -199,6 +200,8 @@ int bsc_nat_vty_init(struct bsc_nat *nat)
install_element(VIEW_NODE, &show_bsc_cmd);
install_element(VIEW_NODE, &show_bsc_cfg_cmd);
+ openbsc_vty_add_cmds();
+
/* nat group */
install_element(CONFIG_NODE, &cfg_nat_cmd);
install_node(&nat_node, config_write_nat);