summaryrefslogtreecommitdiffstats
path: root/src/ConfigParser.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-28 20:08:56 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-11-28 20:08:56 +0100
commit6800fb66282525542366bc58df3095b93e3bf8ca (patch)
treec6e7607b5090ceff1e69a1f0fff206b1a7a9c07b /src/ConfigParser.cpp
parent96b4dc4efca1b164f79a7f7394449866f034ac31 (diff)
downloaddabmux-6800fb66282525542366bc58df3095b93e3bf8ca.tar.gz
dabmux-6800fb66282525542366bc58df3095b93e3bf8ca.tar.bz2
dabmux-6800fb66282525542366bc58df3095b93e3bf8ca.zip
Remove service linking active from RC
This can be added later if the need arises, and when proper testing validates the implementation.
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r--src/ConfigParser.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp
index 1b6093e..7219663 100644
--- a/src/ConfigParser.cpp
+++ b/src/ConfigParser.cpp
@@ -137,7 +137,6 @@ static void parse_linkage(boost::property_tree::ptree& pt,
throw runtime_error("Invalid service linking definition");
}
- bool active = pt_set.get("active", false);
bool hard = pt_set.get("hard", true);
bool international = pt_set.get("international", false);
@@ -149,8 +148,7 @@ static void parse_linkage(boost::property_tree::ptree& pt,
}
auto linkageset = make_shared<LinkageSet>(setuid, lsn, hard, international);
- linkageset->data.active = active;
- linkageset->data.keyservice = service_uid; // TODO check if it exists
+ linkageset->keyservice = service_uid; // TODO check if it exists
auto pt_list = pt_set.get_child_optional("list");
if (not pt_list) {
@@ -195,7 +193,7 @@ static void parse_linkage(boost::property_tree::ptree& pt,
link.ecc = 0;
}
- linkageset->data.id_list.push_back(link);
+ linkageset->id_list.push_back(link);
}
ensemble->linkagesets.push_back(linkageset);
}