From: Ted Lemon Date: Thu, 16 May 1996 07:37:18 +0000 (+0000) Subject: Kludge hardware interface type X-Git-Tag: BETA-2~116 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cafcf586c80d679051df94bb17835d99f3f0ea8e;p=thirdparty%2Fdhcp.git Kludge hardware interface type --- diff --git a/common/dispatch.c b/common/dispatch.c index 45815ae3e..fd993073a 100644 --- a/common/dispatch.c +++ b/common/dispatch.c @@ -104,7 +104,7 @@ void discover_interfaces () error ("Can't allocate link pointer."); strcpy (lp -> name, ifp -> ifr_name); lp -> address.hlen = foo -> sdl_alen; - lp -> address.htype = foo -> sdl_type; + lp -> address.htype = ARPHRD_ETHER; /* XXX */ memcpy (lp -> address.haddr, LLADDR (foo), foo -> sdl_alen); lp -> next = interface_links; diff --git a/dispatch.c b/dispatch.c index 45815ae3e..fd993073a 100644 --- a/dispatch.c +++ b/dispatch.c @@ -104,7 +104,7 @@ void discover_interfaces () error ("Can't allocate link pointer."); strcpy (lp -> name, ifp -> ifr_name); lp -> address.hlen = foo -> sdl_alen; - lp -> address.htype = foo -> sdl_type; + lp -> address.htype = ARPHRD_ETHER; /* XXX */ memcpy (lp -> address.haddr, LLADDR (foo), foo -> sdl_alen); lp -> next = interface_links;