summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-10-29 19:25:34 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-10-29 19:25:34 +0100
commitb59ebe9f220fed9655059a72832e51f1b04dcbe1 (patch)
tree0059e9ece5aacc1cd80f3f6da4399ff562fda197 /include
parent6a973bab9c5ae4f139ce30aa02e34e3779b8c5fa (diff)
skip simple-client default as/asp when saving VTY config
When saving the current VTY config to a configuration file, do not write out AS/ASP configuration items which are generated as a fallback by osmo_sccp_simple_client_on_ss7_id(). Since the user did not explicitly configure these configuration items they should not be saved to the user's configuration file. Change-Id: Id8a3afc6dee29ae1ee9c862cbe404a61fe979dba Related: OS#3616
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/sigtran/osmo_ss7.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/osmocom/sigtran/osmo_ss7.h b/include/osmocom/sigtran/osmo_ss7.h
index 34d5408..414606a 100644
--- a/include/osmocom/sigtran/osmo_ss7.h
+++ b/include/osmocom/sigtran/osmo_ss7.h
@@ -298,6 +298,9 @@ struct osmo_ss7_as {
/*! Were we dynamically allocated by RKM? */
bool rkm_dyn_allocated;
+ /*! Were we allocated by "simple client" support? */
+ bool simple_client_allocated;
+
struct {
char *name;
char *description;
@@ -380,6 +383,9 @@ struct osmo_ss7_asp {
/*! Were we dynamically allocated */
bool dyn_allocated;
+ /*! Were we allocated by "simple client" support? */
+ bool simple_client_allocated;
+
/*! Pending message for non-blocking IPA read */
struct msgb *pending_msg;