diff options
author | Ted Lemon <source@isc.org> | 2000-01-29 05:47:50 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 2000-01-29 05:47:50 +0000 |
commit | 5dba009a0850b68d323d69e89fec1c64df5302c9 (patch) | |
tree | 4dbf7834e34614f3a98323ca87f9bc0d040e7ead /common/packet.c | |
parent | 347de8bdb628837f37076ce06143be2c9c0f3c03 (diff) | |
download | isc-dhcp-5dba009a0850b68d323d69e89fec1c64df5302c9.tar.gz |
Eradicate two more htype occurrances.
Diffstat (limited to 'common/packet.c')
-rw-r--r-- | common/packet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/packet.c b/common/packet.c index 7a016118..b7be88ba 100644 --- a/common/packet.c +++ b/common/packet.c @@ -22,7 +22,7 @@ #ifndef lint 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 */ #include "dhcpd.h" @@ -100,7 +100,7 @@ void assemble_hw_header (interface, buf, bufix, to) struct hardware *to; { #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); else #endif @@ -180,7 +180,7 @@ ssize_t decode_hw_header (interface, buf, bufix, from) struct hardware *from; { #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); else #endif |