aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-21 13:06:34 -0400
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-21 13:06:34 -0400
commite2aba7d0d0d921cd674a0bee8ac0d85c0ff5c12c (patch)
tree08300c6950f4654f94b5cecfbc7f5aca522d3af6
parent070139387bafd368efa077524a64966b6a1cc2b7 (diff)
vty: Remember forward-only of the ss7 application
We don't have regression testing here but this could be the correct fix.
-rw-r--r--src/vty_interface.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vty_interface.c b/src/vty_interface.c
index b0ce06b..38f7053 100644
--- a/src/vty_interface.c
+++ b/src/vty_interface.c
@@ -340,6 +340,8 @@ static void write_application(struct vty *vty, struct ss7_application *app)
link_type(app->route_dst.type), app->route_dst.nr,
VTY_NEWLINE);
}
+ if (app->forward_only)
+ vty_out(vty, " forward-only%s", VTY_NEWLINE);
}
static int config_write_app(struct vty *vty)