diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-06-13 02:37:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-06-13 02:37:42 +0000 |
commit | 4275845779ba1166161946076159fa4cd35c9cdf (patch) | |
tree | 07836feb364cfe3d70f76007b0ea1b9329308692 | |
parent | 7a2770dd8127167d96d8df0b92de47ad5a5f60ec (diff) |
Fix by Gerald Combs to a braino of mine.
svn path=/trunk/; revision=7866
-rw-r--r-- | pcap-util.c | 4 |
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) { |