diff options
| author | Roy Marples <roy@marples.name> | 2008-08-07 11:42:14 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2008-08-07 11:42:14 +0000 |
| commit | af94aa169458928a6cd681b0b46a50ed01cc77d8 (patch) | |
| tree | 6cdff58fc270513bb2e44641d4e84228d7fcf996 /dhcpcd.h | |
| parent | e837a67042f3b3d128068214774d22d0657168ac (diff) | |
| download | dhcpcd-af94aa169458928a6cd681b0b46a50ed01cc77d8.tar.xz | |
We need to reserve a byte for initial length also.
Diffstat (limited to 'dhcpcd.h')
| -rw-r--r-- | dhcpcd.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ #define DEFAULT_TIMEOUT 30 #define DEFAULT_LEASETIME 3600 /* 1 hour */ -#define HOSTNAME_MAX_LEN 254 /* Trailing NULL for FQDN */ +#define HOSTNAME_MAX_LEN 253 /* Initial len + trailing 0 for FQDN */ #define CLASSID_MAX_LEN 48 #define CLIENTID_MAX_LEN 48 #define USERCLASS_MAX_LEN 255 |
