#ifndef lint
static char copyright[] =
-"$Id: dhcp.c,v 1.195 2001/08/10 10:50:45 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcp.c,v 1.196 2002/01/17 17:01:46 mellon Exp $ Copyright (c) 1995-2001 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
if ((oc = lookup_option (&dhcp_universe, packet -> options,
DHO_HOST_NAME))) {
if (!oc -> expression)
- if (oc -> data.len &&
- oc -> data.data [oc -> data.len - 1] == 0) {
+ while (oc -> data.len &&
+ oc -> data.data [oc -> data.len - 1] == 0) {
ms_nulltp = 1;
oc -> data.len--;
}