From 6367cf41b21f6912a2e18486732100ffec383869 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Mon, 10 Mar 2025 19:12:57 +0100 Subject: [PATCH] Remove sin4 from ComboAddress reset Zeroing through the larger sin6 field is sufficient. Signed-off-by: Georg Pfuetzenreuter --- pdns/iputils.hh | 1 - 1 file changed, 1 deletion(-) 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)); } -- 2.47.2