From: Ted Lemon Date: Wed, 18 Apr 2001 18:54:47 +0000 (+0000) Subject: Fix a small bug in binary-to-ascii. X-Git-Tag: V3-RC1-PATCH-1~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36ed3a00a5191c04c4dc063858de5b24cf77e3b4;p=thirdparty%2Fdhcp.git Fix a small bug in binary-to-ascii. --- diff --git a/common/tree.c b/common/tree.c index 69c6ac114..1dd408dc0 100644 --- a/common/tree.c +++ b/common/tree.c @@ -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