diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-06-13 20:40:31 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-06-13 20:40:31 +0000 |
commit | 626b7e21ea02cdb6d0d869c1b907ba5bdddbad64 (patch) | |
tree | 66595d5e9bfd61a6328a04e9d6429a3fdaba2b1c /util.c | |
parent | 31d4df4a8f72613866017b32492e05e15d14ab11 (diff) | |
download | wireshark-626b7e21ea02cdb6d0d869c1b907ba5bdddbad64.tar.gz wireshark-626b7e21ea02cdb6d0d869c1b907ba5bdddbad64.tar.bz2 wireshark-626b7e21ea02cdb6d0d869c1b907ba5bdddbad64.zip |
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.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 */ |