Wireshark mailing list archives

Re: Multiple interfaces capture: Compile errors


From: Michael Tuexen <Michael.Tuexen () lurchi franken de>
Date: Fri, 5 Aug 2011 18:17:40 +0200

On Aug 5, 2011, at 5:59 PM, Joerg Mayer wrote:

I just tried to "fix" the stuff in main_welcome.c:

Index: main_welcome.c
===================================================================
--- main_welcome.c      (revision 38365)
+++ main_welcome.c      (working copy)
@@ -72,6 +72,9 @@
#include "airpcap.h"
#include "airpcap_loader.h"
#include "airpcap_gui_utils.h"
+#endif
+
+#if defined(HAVE_AIRPCAP) || defined(HAVE_PCAP_REMOTE)
#include "../image/toolbar/capture_airpcap_16.xpm"
#endif

But this is not really helping:
a) It looks like the code wants to use a wrong icon (airpcap for remote)
I think the real problem is that we don't have an icon for remote
interfaces...
b) compilation fails with messages like:
  main_welcome.c:721:25: error: ‘d_interface.remote_opts.remote_host_opts.remote_host’ may be used uninitialized 
in this function
  And this looks genuine to me: There is an assignment to the struct further
  down (no, not a pointer to a struct).
I'll take a look... Still trying to make all buildbots happy...

Best regards
Michael

Ciao
   Joerg
-- 
Joerg Mayer                                           <jmayer () loplof de>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: