From: Ted Lemon Date: Thu, 27 Jan 2000 23:27:38 +0000 (+0000) Subject: One more htype boo-boo... X-Git-Tag: V3-BETA-2-PATCH-1~380 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=254f9d79da78bc156f5f4eadcea9f57851e2dc53;p=thirdparty%2Fdhcp.git One more htype boo-boo... --- diff --git a/common/lpf.c b/common/lpf.c index 1d5e4ca2b..2ec3a69db 100644 --- a/common/lpf.c +++ b/common/lpf.c @@ -23,7 +23,7 @@ #ifndef lint static char copyright[] = -"$Id: lpf.c,v 1.19 2000/01/25 01:07:19 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: lpf.c,v 1.20 2000/01/27 23:27:38 mellon Exp $ Copyright (c) 1995, 1996, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -139,7 +139,7 @@ void if_register_receive (info) /* Open a LPF device and hang it on this interface... */ info -> rfdesc = if_register_lpf (info); - if (info -> hw_address.htype == HTYPE_IEEE802) + if (info -> hw_address.hbuf [0] == HTYPE_IEEE802) lpf_tr_filter_setup (info); else lpf_gen_filter_setup (info);