From: Mark Andrews Date: Mon, 17 Feb 2014 14:53:21 +0000 (+1100) Subject: a4 and a6 were being referenced out of scope X-Git-Tag: v9.10.0b1~95 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e8cfb69d1f55a0d50d9e0466e82a27d326f4753;p=thirdparty%2Fbind9.git a4 and a6 were being referenced out of scope --- diff --git a/bin/delve/delve.c b/bin/delve/delve.c index 2e4a8b5769f..edd7ac41bca 100644 --- a/bin/delve/delve.c +++ b/bin/delve/delve.c @@ -91,6 +91,7 @@ static isc_log_t *lctx = NULL; static char *server = NULL; static const char *port = "53"; static isc_sockaddr_t *srcaddr4 = NULL, *srcaddr6 = NULL; +static isc_sockaddr_t a4, a6; static char *curqname = NULL, *qname = NULL; static isc_boolean_t classset = ISC_FALSE; static dns_rdatatype_t qtype = dns_rdatatype_none; @@ -1127,7 +1128,6 @@ dash_option(char *option, char *next, isc_boolean_t *open_type_class) { char textname[MAXNAME]; struct in_addr in4; struct in6_addr in6; - isc_sockaddr_t a4, a6; in_port_t srcport; isc_uint32_t num; char *hash;