summaryrefslogtreecommitdiffstats
path: root/src/DabMux.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-01 13:24:56 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-04-01 13:24:56 +0200
commitee0db2ebbc3e0e9d6a50e8ab3fd108d903afed2a (patch)
treec8b983b5a60ccdd77bb3ba6c2337cd74dba85391 /src/DabMux.cpp
parent8a855958f7be056220f1ce2c32b8090871528f23 (diff)
downloaddabmux-ee0db2ebbc3e0e9d6a50e8ab3fd108d903afed2a.tar.gz
dabmux-ee0db2ebbc3e0e9d6a50e8ab3fd108d903afed2a.tar.bz2
dabmux-ee0db2ebbc3e0e9d6a50e8ab3fd108d903afed2a.zip
Remove incomplete setptree ManagementServer command
Diffstat (limited to 'src/DabMux.cpp')
-rw-r--r--src/DabMux.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/DabMux.cpp b/src/DabMux.cpp
index 79b46f1..3a4a465 100644
--- a/src/DabMux.cpp
+++ b/src/DabMux.cpp
@@ -473,14 +473,8 @@ int main(int argc, char *argv[])
"Detected Management Server fault, restarting it";
mgmt_server.restart();
}
- else if (mgmt_server.request_pending()) {
- mgmt_server.update_ptree(pt);
- }
- else if (mgmt_server.retrieve_new_ptree(pt)) {
- etiLog.level(warn) <<
- "Detected configuration change";
- mux.update_config(pt);
- }
+
+ mgmt_server.update_ptree(pt);
}
}
etiLog.level(info) << "Goodbye";