diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2012-02-21 12:56:52 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2012-02-21 12:56:52 +0000 |
commit | a36c67130fd16568c9059848515707c3f0a8f8d7 (patch) | |
tree | 4d7515e3538ef9cfe4a781ddf4e1a04d892205a9 | |
parent | da14b5b8ecdc37855a2a4e1164028f73c33f7e62 (diff) |
Fix compilation (hopefully).
svn path=/trunk/; revision=41107
-rw-r--r-- | ui/gtk/capture_dlg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/capture_dlg.c b/ui/gtk/capture_dlg.c index f218c642b1..767cc7daa7 100644 --- a/ui/gtk/capture_dlg.c +++ b/ui/gtk/capture_dlg.c @@ -2626,7 +2626,9 @@ add_pipe_cb(gpointer w _U_) device.no_addresses = 0; device.last_packets = 0; device.links = NULL; +#if defined(_WIN32) || defined(HAVE_PCAP_CREATE) device.buffer = 1; +#endif device.active_dlt = -1; device.if_info.name = NULL; device.if_info.description = NULL; |