aboutsummaryrefslogtreecommitdiffstats
path: root/src/vty_interface.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-12-11 14:19:03 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-12-16 12:45:58 +0100
commite833478898850aad99fe5b9b1efee34e6ec1ca64 (patch)
tree6ed239d42901811cbccd70a115dcacb9c64d34e2 /src/vty_interface.c
parenta9530059a1ecab57a0ebe362ad8b8f3353e3f7b2 (diff)
isup: Hook the reset scanner before we forward the ISUP message1.3.0
Scan for two kind of reset messages in the ISUP messages. Forward them to the mgcp_ss7.
Diffstat (limited to 'src/vty_interface.c')
-rw-r--r--src/vty_interface.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vty_interface.c b/src/vty_interface.c
index 48e150e..001ba44 100644
--- a/src/vty_interface.c
+++ b/src/vty_interface.c
@@ -298,7 +298,9 @@ static void write_application(struct vty *vty, struct ss7_application *app)
if (app->type == APP_STP) {
vty_out(vty, " isup-pass-through %d%s", app->isup_pass, VTY_NEWLINE);
- vty_out(vty, " trunk-name %s%s", app->trunk_name, VTY_NEWLINE);
+ if (app->trunk_name)
+ vty_out(vty, " trunk-name %s%s",
+ app->trunk_name, VTY_NEWLINE);
}
if (app->type == APP_CELLMGR && app->mgcp_domain_name) {