On Win32, say "without WinPcap" rather than "without libpcap" (although
authorGuy Harris <guy@alum.mit.edu>
Fri, 13 Jun 2003 20:40:31 +0000 (20:40 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 13 Jun 2003 20:40:31 +0000 (20:40 -0000)
it's unlikely that somebody would build without WinPcap - they'd
currently have to manually tweak config.h.win32; we can do the same
trick there that we do with ADNS).

svn path=/trunk/; revision=7877

util.c

diff --git a/util.c b/util.c
index 8a9aa051666caea319c7835da076806e88a66ba7..82a789e68ebbb8af366c9cafc15ef29d4f2049ff 100644 (file)
--- a/util.c
+++ b/util.c
@@ -1,7 +1,7 @@
 /* util.c
  * Utility routines
  *
- * $Id: util.c,v 1.64 2003/06/13 20:03:50 guy Exp $
+ * $Id: util.c,v 1.65 2003/06/13 20:40:31 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -144,7 +144,11 @@ get_compiled_version_info(GString *str)
 #else /* HAVE_LIBPCAP */
        g_string_append(str, " ");
        break_point = str->len - 1;
+#ifdef WIN32
+       g_string_append(str, "without WinPcap,");
+#else /* WIN32 */
        g_string_append(str, "without libpcap,");
+#endif /* WIN32 */
        do_word_wrap(str, break_point);
 #endif /* HAVE_LIBPCAP */