From 786d1eec1cd1cac7e26243d118cd209e84bc6bb9 Mon Sep 17 00:00:00 2001 From: Bart Coddens Date: Tue, 4 Nov 2014 14:39:24 -0500 Subject: 4174 Torch the old and unmaintained Sun-dhcp Reviewed by: Josef Sipek Reviewed by: Garrett D'Amore Approved by: Dan McDonald --- usr/src/lib/libdhcputil/common/dhcp_symbol.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'usr/src/lib/libdhcputil') diff --git a/usr/src/lib/libdhcputil/common/dhcp_symbol.h b/usr/src/lib/libdhcputil/common/dhcp_symbol.h index 0e153457e4..c8749b1424 100644 --- a/usr/src/lib/libdhcputil/common/dhcp_symbol.h +++ b/usr/src/lib/libdhcputil/common/dhcp_symbol.h @@ -19,6 +19,8 @@ * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore + * * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -26,8 +28,6 @@ #ifndef _DHCP_SYMBOL_H #define _DHCP_SYMBOL_H -#pragma ident "%Z%%M% %I% %E% SMI" - /* * This file, along with , contains the DHCP symbol * constants and the definitions for the external interfaces to the parsing @@ -36,7 +36,6 @@ */ #include -#include #include #ifdef __cplusplus @@ -46,13 +45,13 @@ extern "C" { /* * Vendor class length (and implicitly, the number of classes) */ -#define DSYM_CLASS_SIZE DSVC_MAX_MACSYM_LEN /* Single class max */ +#define DSYM_CLASS_SIZE 128 /* Single class max */ #define DSYM_MAX_CLASS_SIZE (DSYM_CLASS_SIZE * 10) /* At least 10 */ /* - * Maximum symbol length is defined by the libdhcpsvc. + * Maximum symbol length */ -#define DSYM_MAX_SYM_LEN DSVC_MAX_MACSYM_LEN +#define DSYM_MAX_SYM_LEN 128 /* * symbol parsing error codes -- cgit v1.2.3