mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Fix shadowed variable that breaks lookup_hostname()
A bug introduced in b62727a7fa
This commit is contained in:
parent
23c3aa056f
commit
9473c32b5d
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ IntrusivePtr<ListVal> DNS_Mapping::Addrs()
|
|||
|
||||
if ( ! addrs_val )
|
||||
{
|
||||
auto addrs_val = make_intrusive<ListVal>(zeek::TYPE_ADDR);
|
||||
addrs_val = make_intrusive<ListVal>(zeek::TYPE_ADDR);
|
||||
|
||||
for ( int i = 0; i < num_addrs; ++i )
|
||||
addrs_val->Append(make_intrusive<AddrVal>(addrs[i]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue