mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 13:28:14 +00:00
Eradicate two more htype occurrances.
This commit is contained in:
parent
347de8bdb6
commit
5dba009a08
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
"$Id: packet.c,v 1.29 1999/10/07 06:35:43 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n";
|
"$Id: packet.c,v 1.30 2000/01/29 05:47:50 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@ -100,7 +100,7 @@ void assemble_hw_header (interface, buf, bufix, to)
|
|||||||
struct hardware *to;
|
struct hardware *to;
|
||||||
{
|
{
|
||||||
#if defined (HAVE_TR_SUPPORT)
|
#if defined (HAVE_TR_SUPPORT)
|
||||||
if (interface -> hw_address.htype == HTYPE_IEEE802)
|
if (interface -> hw_address.hbuf [0] == HTYPE_IEEE802)
|
||||||
assemble_tr_header (interface, buf, bufix, to);
|
assemble_tr_header (interface, buf, bufix, to);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
@ -180,7 +180,7 @@ ssize_t decode_hw_header (interface, buf, bufix, from)
|
|||||||
struct hardware *from;
|
struct hardware *from;
|
||||||
{
|
{
|
||||||
#if defined (HAVE_TR_SUPPORT)
|
#if defined (HAVE_TR_SUPPORT)
|
||||||
if (interface -> hw_address.htype == HTYPE_IEEE802)
|
if (interface -> hw_address.hbuf [0] == HTYPE_IEEE802)
|
||||||
return decode_tr_header (interface, buf, bufix, from);
|
return decode_tr_header (interface, buf, bufix, from);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user