aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-util.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-06-13 02:37:42 +0000
committerGuy Harris <guy@alum.mit.edu>2003-06-13 02:37:42 +0000
commit4275845779ba1166161946076159fa4cd35c9cdf (patch)
tree07836feb364cfe3d70f76007b0ea1b9329308692 /pcap-util.c
parent7a2770dd8127167d96d8df0b92de47ad5a5f60ec (diff)
Fix by Gerald Combs to a braino of mine.
svn path=/trunk/; revision=7866
Diffstat (limited to 'pcap-util.c')
-rw-r--r--pcap-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcap-util.c b/pcap-util.c
index cb6621f315..116ad746e4 100644
--- a/pcap-util.c
+++ b/pcap-util.c
@@ -1,7 +1,7 @@
/* pcap-util.c
* Utility routines for packet capture
*
- * $Id: pcap-util.c,v 1.12 2003/06/10 08:01:42 guy Exp $
+ * $Id: pcap-util.c,v 1.13 2003/06/13 02:37:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -477,7 +477,7 @@ get_interface_list(int *err, char *err_str) {
desc_pos++; /* Step over the extra '\0' */
desc = win95names + desc_pos;
- while (win95names[i] == 0)
+ while (win95names[i] != 0)
{
j = 0;
while (*desc) {