From a2fe97acd2ac655bb7163f1b2feb41298f4d1058 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 15 Nov 1998 05:40:23 +0000 Subject: Back out some changes accidentally commited by the previous checkin - I forgot that CVS, unlike Perforce, doesn't let you edit the list of files it gives you in the editor and cause those files *not* to be committed, it requires you to specify the files to be committed if you only want some files committed. svn path=/trunk/; revision=92 --- capture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'capture.c') diff --git a/capture.c b/capture.c index 03320b858f..4bb1c18634 100644 --- a/capture.c +++ b/capture.c @@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.9 1998/11/15 05:28:54 guy Exp $ + * $Id: capture.c,v 1.10 1998/11/15 05:40:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -126,7 +126,7 @@ get_interface_list() { ! strchr(ifr->ifr_name, ':')) { il = g_list_append(il, g_strdup(ifr->ifr_name)); } -#ifdef HAVE_SA_LEN +#ifdef HAVE_SOCKADDR_SA_LEN ifr = (struct ifreq *) ((char *) ifr + ifr->ifr_addr.sa_len + IFNAMSIZ); #else ifr = (struct ifreq *) ((char *) ifr + sizeof(struct ifreq)); -- cgit v1.2.3