From b8bbfcf379a868434c6cfc8ea17737694c6c6858 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Wed, 8 Feb 2012 20:15:59 +0000 Subject: [PATCH] Write address resolution block. svn path=/trunk/; revision=40938 --- file.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/file.c b/file.c index 68e7336985..22c6bcf8b4 100644 --- a/file.c +++ b/file.c @@ -3786,7 +3786,10 @@ cf_save(capture_file *cf, const char *fname, packet_range_t *range, guint save_f goto fail; } - /* XXX - we let the user save a subset of the packets. + /* Add address resolution */ + wtap_dump_set_addrinfo_list(pdh, get_addrinfo_list()); + + /* XXX - we let the user save a subset of the packets. If we do that, should we make that file the current file? If so, it means we can no longer get at the other packets. What does