summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-11-19 01:12:04 +0100
committerHarald Welte <laforge@osmocom.org>2019-11-19 01:12:04 +0100
commit8e2fddc93e6213fa876a7afa5588b99f7dd917ad (patch)
treea8ac525c42e5abbfd29e55af3c722170434d7676
parentc19962e1e12fdf4badba64d2111dba16226c8e76 (diff)
Don't forget to store the sctp-role during writing config file
-rw-r--r--src/osmo_ss7_vty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo_ss7_vty.c b/src/osmo_ss7_vty.c
index 84f616a..0a3cea4 100644
--- a/src/osmo_ss7_vty.c
+++ b/src/osmo_ss7_vty.c
@@ -753,6 +753,8 @@ static void write_one_asp(struct vty *vty, struct osmo_ss7_asp *asp)
vty_out(vty, " role %s%s", get_value_string(osmo_ss7_asp_role_names, asp->cfg.role),
VTY_NEWLINE);
}
+ if (!asp->cfg.is_server)
+ vty_out(vty, " sctp-role client%s", VTY_NEWLINE);
}