]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence warning
authorMark Andrews <marka@isc.org>
Tue, 17 May 2016 07:26:27 +0000 (17:26 +1000)
committerMark Andrews <marka@isc.org>
Tue, 17 May 2016 07:26:27 +0000 (17:26 +1000)
bin/dig/dighost.c

index 2848f595699af80840312d22f245b71705e6d9e5..56ffd1b84a749397bd04bc63e3c086a096ac5be1 100644 (file)
@@ -2512,7 +2512,8 @@ setup_lookup(dig_lookup_t *lookup) {
                }
 
                if (lookup->ecs_addr != NULL) {
-                       isc_uint8_t addr[16], family, proto;
+                       isc_uint8_t addr[16], family;
+                       int proto;
                        isc_uint32_t plen;
                        struct sockaddr *sa;
                        struct sockaddr_in *sin;