diff options
author | Gerald Combs <gerald@wireshark.org> | 2004-02-24 02:19:16 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2004-02-24 02:19:16 +0000 |
commit | 15e982a749750a697c8fefb22cf3a494cbc69947 (patch) | |
tree | 7f4d2e709df98df89a9e0faeb6986d1ecb60e52a | |
parent | a56e99aa7a9b838f444774b4477c185a1e82962e (diff) |
In get_if_name(), return immediately once we've found our interface name
under Windows.
svn path=/trunk/; revision=10213
-rw-r--r-- | gtk/capture_dlg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c index d8861bbe38..824868fc49 100644 --- a/gtk/capture_dlg.c +++ b/gtk/capture_dlg.c @@ -1,7 +1,7 @@ /* capture_dlg.c * Routines for packet capture windows * - * $Id: capture_dlg.c,v 1.108 2004/02/23 23:13:36 guy Exp $ + * $Id: capture_dlg.c,v 1.109 2004/02/24 02:19:16 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -163,6 +163,7 @@ get_if_name(char *if_text) if_name++; /* skip the colon */ while (*if_name == ' ') if_name++; + return if_name; } #else /* |