]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
streams: Remove registered systemd stream service
authorTobias Brunner <tobias@strongswan.org>
Wed, 18 Oct 2017 07:25:15 +0000 (09:25 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 18 Oct 2017 07:25:15 +0000 (09:25 +0200)
Fixes: 59db98fb941c ("stream: Add basic stream service for systemd sockets")
src/libstrongswan/networking/streams/stream_manager.c

index 3959c255bb9e039284925b676a22ec5b7a0a6a39..32856dee8b8313e8ccb99ecb89faa417ae11dd2e 100644 (file)
@@ -209,6 +209,9 @@ METHOD(stream_manager_t, destroy, void,
        remove_stream(this, stream_create_unix);
        remove_service(this, stream_service_create_unix);
 #endif
+#ifdef USE_SYSTEMD
+       remove_service(this, stream_service_create_systemd);
+#endif
 
        this->streams->destroy(this->streams);
        this->services->destroy(this->services);