From 78631020b83c7aab12934f0cff72dbb5e3f0ba4a Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Tue, 16 Oct 2012 21:50:57 +0000 Subject: Add wtap_pseudo_header union to wtap_pkthdr structure. Use pkthdr instead of pseudo_header as argument for dissecting. svn path=/trunk/; revision=45601 --- ui/text_import.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/text_import.c') diff --git a/ui/text_import.c b/ui/text_import.c index 912022425e..c8a122f4ba 100644 --- a/ui/text_import.c +++ b/ui/text_import.c @@ -531,7 +531,7 @@ write_current_packet (void) pkthdr.pack_flags = 0; pkthdr.presence_flags = WTAP_HAS_CAP_LEN|WTAP_HAS_INTERFACE_ID|WTAP_HAS_TS; - wtap_dump(wdh, &pkthdr, NULL, packet_buf, &err); + wtap_dump(wdh, &pkthdr, packet_buf, &err); } } -- cgit v1.2.3