summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 099d87bd23..05e538c46d 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1842,7 +1842,7 @@ is_internal_IP(uint32_t ip, int for_listening)
int
tor_addr_is_internal(const tor_addr_t *addr, int for_listening)
{
- uint32_t iph4;
+ uint32_t iph4 = 0;
uint32_t iph6[4];
sa_family_t v_family;
v_family = IN_FAMILY(addr);