Write address resolution block.
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Feb 2012 20:15:59 +0000 (20:15 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Feb 2012 20:15:59 +0000 (20:15 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40938 f5534014-38df-0310-8fa8-9805f1628bb7

file.c

diff --git a/file.c b/file.c
index 68e7336..22c6bcf 100644 (file)
--- 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