]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Kludge hardware interface type
authorTed Lemon <source@isc.org>
Thu, 16 May 1996 07:37:18 +0000 (07:37 +0000)
committerTed Lemon <source@isc.org>
Thu, 16 May 1996 07:37:18 +0000 (07:37 +0000)
common/dispatch.c
dispatch.c

index 45815ae3e3fa0d21f7871b882d0ece41209782ce..fd993073a93d1cdb0f1163072ed418fb176acab4 100644 (file)
@@ -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;
index 45815ae3e3fa0d21f7871b882d0ece41209782ce..fd993073a93d1cdb0f1163072ed418fb176acab4 100644 (file)
@@ -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;