diff options
author | jwd <jwd@FreeBSD.org> | 2003-02-27 03:57:17 +0000 |
---|---|---|
committer | jwd <jwd@FreeBSD.org> | 2003-02-27 03:57:17 +0000 |
commit | 1269b76675254ee22c7e0935d89bb251c990cfc0 (patch) | |
tree | 3e196a13512839af251c9d1e74476c61a20df87c /usr.sbin/sade | |
parent | d2eb4692a27e5b54b560eab35d2d7fef786d129f (diff) | |
download | FreeBSD-src-1269b76675254ee22c7e0935d89bb251c990cfc0.zip FreeBSD-src-1269b76675254ee22c7e0935d89bb251c990cfc0.tar.gz |
- 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
Diffstat (limited to 'usr.sbin/sade')
-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 68a16c9..60a6590 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 */ |