]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Fix a small bug in binary-to-ascii.
authorTed Lemon <source@isc.org>
Wed, 18 Apr 2001 18:54:47 +0000 (18:54 +0000)
committerTed Lemon <source@isc.org>
Wed, 18 Apr 2001 18:54:47 +0000 (18:54 +0000)
common/tree.c

index 69c6ac1142d1848b7b041dbe38cdfaec703718de..1dd408dc08b9d0e3b07cce7b4b3ee5c9ab76da34 100644 (file)
@@ -43,7 +43,7 @@
 
 #ifndef lint
 static char copyright[] =
-"$Id: tree.c,v 1.100 2001/03/22 07:00:15 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: tree.c,v 1.101 2001/04/18 18:54:47 mellon Exp $ Copyright (c) 1995-2000 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -1721,7 +1721,7 @@ int evaluate_data_expression (result, packet, lease, client_state,
                                                        buflen += 2;
                                                else
                                                        buflen += 3;
-                                       } else if (offset == 10) {
+                                       } else if (offset == 16) {
                                                if (other.data [i] < 16)
                                                        buflen++;
                                                else