mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Fix a nb_dns.c compile error (older OSs) due to C90 vs C99.
This commit is contained in:
parent
82a51e0731
commit
deced3795c
3 changed files with 8 additions and 2 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
||||||
|
|
||||||
|
2.5-348 | 2017-11-21 11:30:55 -0600
|
||||||
|
|
||||||
|
* Fix a nb_dns.c compile error (older OSs) due to C90 vs C99. (Corelight)
|
||||||
|
|
||||||
2.5-347 | 2017-11-20 14:00:37 -0600
|
2.5-347 | 2017-11-20 14:00:37 -0600
|
||||||
|
|
||||||
* Fix and extend behavior of HookLoadFile. (Corelight)
|
* Fix and extend behavior of HookLoadFile. (Corelight)
|
||||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
||||||
2.5-347
|
2.5-348
|
||||||
|
|
|
@ -132,7 +132,9 @@ nb_dns_init(char *errstr)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( int i = 0; i < _res.nscount; ++i )
|
int i;
|
||||||
|
|
||||||
|
for ( i = 0; i < _res.nscount; ++i )
|
||||||
{
|
{
|
||||||
nd->server = _res.nsaddr_list[i];
|
nd->server = _res.nsaddr_list[i];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue