aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_access.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-09-22 19:40:02 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-09-22 19:40:02 +0000
commit20108d7950b18454feff829de5f7f9c6fcaefd26 (patch)
tree582620b3b75522faaa467f62f62ebd3b9fae79de /wiretap/file_access.c
parent9175c79ac1dbde4692b0992f36eb0b3f7cf2f227 (diff)
Get rid of struct addrinfo, use the hastables for name resolution instead.
svn path=/trunk/; revision=52176
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r--wiretap/file_access.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c
index da7a09a643..3134332b86 100644
--- a/wiretap/file_access.c
+++ b/wiretap/file_access.c
@@ -1704,12 +1704,12 @@ void wtap_set_bytes_dumped(wtap_dumper *wdh, gint64 bytes_dumped)
wdh->bytes_dumped = bytes_dumped;
}
-gboolean wtap_dump_set_addrinfo_list(wtap_dumper *wdh, struct addrinfo *addrinfo_list)
+gboolean wtap_dump_set_addrinfo_list(wtap_dumper *wdh, addrinfo_lists_t *addrinfo_lists)
{
if (!wdh || wdh->file_type < 0 || wdh->file_type >= wtap_num_file_types
|| dump_open_table[wdh->file_type].has_name_resolution == FALSE)
return FALSE;
- wdh->addrinfo_list = addrinfo_list;
+ wdh->addrinfo_lists = addrinfo_lists;
return TRUE;
}