diff options
author | Dave Barach <dave@barachs.net> | 2020-02-14 07:32:54 -0500 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2020-02-14 14:28:28 +0000 |
commit | a357a938019c8df2b061cc5bd14cd8a64fac694f (patch) | |
tree | fb32cc1a3e8030ae36d9d23998e0dcb87c5f3a9d /src/plugins/dns/dns.c | |
parent | ac8bb9263438221cc93db62257ffd8db711530e2 (diff) |
vrrp dns: fix coverity warnings
Type: fix
Ticket: VPP-1837
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I0d164147173b452fee7e720e01e6a9991f43b64a
Diffstat (limited to 'src/plugins/dns/dns.c')
-rw-r--r-- | src/plugins/dns/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dns/dns.c b/src/plugins/dns/dns.c index 4a07fc09a6d..bdf14961a78 100644 --- a/src/plugins/dns/dns.c +++ b/src/plugins/dns/dns.c @@ -2757,7 +2757,7 @@ vnet_send_dns4_reply (dns_main_t * dm, dns_pending_request_t * pr, u8 *reply; vl_api_dns_resolve_name_reply_t _rnr, *rnr = &_rnr; vl_api_dns_resolve_ip_reply_t _rir, *rir = &_rir; - u32 ttl, tmp; + u32 ttl = 64, tmp; u32 qp_offset; dns_query_t *qp; dns_rr_t *rr; |