]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix two pastos.
authorTed Lemon <source@isc.org>
Thu, 10 Jun 1999 00:11:20 +0000 (00:11 +0000)
committerTed Lemon <source@isc.org>
Thu, 10 Jun 1999 00:11:20 +0000 (00:11 +0000)
common/packet.c

index e432de5e73897cc390cac22fed7f5789ed97ae62..bb228788cd3e969fd2a6afc9f41f5a1c66ff85b9 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: packet.c,v 1.27 1999/05/27 17:43:27 mellon Exp $ Copyright (c) 1996 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: packet.c,v 1.28 1999/06/10 00:11:20 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 (info -> hw_address.htype == HTYPE_IEEE802)
+       if (interface -> hw_address.htype == 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 (info -> hw_address.htype == HTYPE_IEEE802)
+       if (interface -> hw_address.htype == HTYPE_IEEE802)
                return decode_tr_header (interface, buf, bufix, from);
        else
 #endif