diff options
author | John W. De Boskey <jwd@FreeBSD.org> | 2003-02-27 03:57:17 +0000 |
---|---|---|
committer | John W. De Boskey <jwd@FreeBSD.org> | 2003-02-27 03:57:17 +0000 |
commit | f3194000cb7b52c55d2ee500d6b4a73d815080ed (patch) | |
tree | 3e196a13512839af251c9d1e74476c61a20df87c /usr.sbin/sade/sade.h | |
parent | 4bc7efe83795abb9198accc63954ab5e5a06a557 (diff) | |
download | src-f3194000cb7b52c55d2ee500d6b4a73d815080ed.tar.gz src-f3194000cb7b52c55d2ee500d6b4a73d815080ed.zip |
- Increase the maximum device name length.
- Actually check that the entered device name does not exceed the
maximum device name length.
PR: misc/18466
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=111592
Diffstat (limited to 'usr.sbin/sade/sade.h')
-rw-r--r-- | usr.sbin/sade/sade.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h index 68a16c9da046..60a659032af0 100644 --- a/usr.sbin/sade/sade.h +++ b/usr.sbin/sade/sade.h @@ -72,7 +72,7 @@ #endif /* device limits */ -#define DEV_NAME_MAX 64 /* The maximum length of a device name */ +#define DEV_NAME_MAX 128 /* The maximum length of a device name */ #define DEV_MAX 100 /* The maximum number of devices we'll deal with */ #define INTERFACE_MAX 50 /* Maximum number of network interfaces we'll deal with */ #define IO_ERROR -2 /* Status code for I/O error rather than normal EOF */ |