From b59ebe9f220fed9655059a72832e51f1b04dcbe1 Mon Sep 17 00:00:00 2001 From: Stefan Sperling Date: Mon, 29 Oct 2018 19:25:34 +0100 Subject: 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 --- include/osmocom/sigtran/osmo_ss7.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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; -- cgit v1.2.3