From: Georg Pfuetzenreuter Date: Mon, 10 Mar 2025 18:12:57 +0000 (+0100) Subject: Remove sin4 from ComboAddress reset X-Git-Tag: dnsdist-2.0.0-alpha2~109^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F15265%2Fhead;p=thirdparty%2Fpdns.git Remove sin4 from ComboAddress reset Zeroing through the larger sin6 field is sufficient. Signed-off-by: Georg Pfuetzenreuter --- diff --git a/pdns/iputils.hh b/pdns/iputils.hh index b237d47809..958e2a7778 100644 --- a/pdns/iputils.hh +++ b/pdns/iputils.hh @@ -413,7 +413,6 @@ union ComboAddress void reset() { - memset(&sin4, 0, sizeof(sin4)); memset(&sin6, 0, sizeof(sin6)); }