diff options
author | Guy Harris <guy@alum.mit.edu> | 1998-11-15 05:40:23 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1998-11-15 05:40:23 +0000 |
commit | a2fe97acd2ac655bb7163f1b2feb41298f4d1058 (patch) | |
tree | 4436b1e50b0cc93e209b5e24096fa7b3e6c8f3a7 /capture.c | |
parent | 86bf1fc851b5564f5700a937de3213e8354aa52e (diff) |
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
Diffstat (limited to 'capture.c')
-rw-r--r-- | capture.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <gerald@zing.org> @@ -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)); |