From: Aki Tuomi Date: Tue, 29 Sep 2015 18:47:30 +0000 (+0300) Subject: Initialize CommunicatorClass members X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~12^2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50d471eaed5e44bd72139b7a0136567c9a31a589;p=pdns Initialize CommunicatorClass members fix cid#1030057 --- diff --git a/pdns/communicator.hh b/pdns/communicator.hh index f234222a7..7b7df8307 100644 --- a/pdns/communicator.hh +++ b/pdns/communicator.hh @@ -153,6 +153,10 @@ public: d_tickinterval=60; d_masterschanged=d_slaveschanged=true; + d_nsock4 = -1; + d_nsock6 = -1; + d_havepriosuckrequest = false; + d_preventSelfNotification = false; } time_t doNotifications(); void go();