From 527c653a0b9f7334eb039dd66d3a6649ad6f7716 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 7 Aug 2017 03:16:44 +0000 Subject: [PATCH] Correct a dumb syntax mistake --- TargetGroup.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TargetGroup.cc b/TargetGroup.cc index 480c0fbae..8a24a9861 100644 --- a/TargetGroup.cc +++ b/TargetGroup.cc @@ -563,7 +563,7 @@ void NetBlockIPv4Ranges::set_addr(const struct sockaddr_in *addr) { BIT_SET(this->octets[2], (ip & 0x0000FF00) >> 8); BIT_SET(this->octets[3], (ip & 0x000000FF)); /* Reset counter so that set_addr can be used to reset the whole NetBlock */ - for (i = 0; i < 4; i++) { + for (int i = 0; i < 4; i++) { this->counter[i] = 0; } }