*** From dhcp-server -- To unsubscribe, see the end of this message. ***
Hm, actually, could you give the following patch a try?
_MelloN_
Index: options.c
===================================================================
RCS file: /proj/src/isc/cvs-1/DHCP/common/options.c,v
retrieving revision 1.26.2.7
diff -c -r1.26.2.7 options.c
*** options.c 1999/03/30 02:57:47 1.26.2.7
--- options.c 1999/04/28 00:52:17
***************
*** 47,52 ****
--- 47,53 ----
#define DHCP_OPTION_DATA
#include "dhcpd.h"
+ #include <ctype.h>
/* Parse all available options out of the specified packet. */
***************
*** 439,445 ****
int numhunk = -1;
int numelem = 0;
char fmtbuf [32];
! int i, j;
char *op = optbuf;
unsigned char *dp = data;
struct in_addr foo;
--- 440,446 ----
int numhunk = -1;
int numelem = 0;
char fmtbuf [32];
! int i, j, k;
char *op = optbuf;
unsigned char *dp = data;
struct in_addr foo;
***************
*** 471,477 ****
numhunk = 0;
break;
case 'X':
! fmtbuf [i] = 'x';
fmtbuf [i + 1] = 0;
hunksize++;
numhunk = 0;
--- 472,486 ----
numhunk = 0;
break;
case 'X':
! for (k = 0; k < len; k++) {
! if (!isascii (data [k]) ||
! !isprint (data [k]))
! break;
! }
! if (k == len)
! fmtbuf [i] = 't';
! else
! fmtbuf [i] = 'x';
fmtbuf [i + 1] = 0;
hunksize++;
numhunk = 0;
------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED] Please try to use the web
page first - it will take a long time for your request to be processed by hand.
Archives for this mailing list are available at
http://www.webnology.com/list-archives/dhcp/dhcp-server
------------------------------------------------------------------------------