aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-06-13 20:40:31 +0000
committerGuy Harris <guy@alum.mit.edu>2003-06-13 20:40:31 +0000
commit626b7e21ea02cdb6d0d869c1b907ba5bdddbad64 (patch)
tree66595d5e9bfd61a6328a04e9d6429a3fdaba2b1c /util.c
parent31d4df4a8f72613866017b32492e05e15d14ab11 (diff)
On Win32, say "without WinPcap" rather than "without libpcap" (although
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
Diffstat (limited to 'util.c')
-rw-r--r--util.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/util.c b/util.c
index 8a9aa05166..82a789e68e 100644
--- 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 */