diff options
author | 1997-06-22 22:56:34 +0000 | |
---|---|---|
committer | 1997-06-22 22:56:34 +0000 | |
commit | 633fb013a34eefa2092c2fc6bff96a0567d14933 (patch) | |
tree | 9e95e149bcbd045122e6e7410873558475d0a999 | |
parent | Fix comment. (diff) | |
download | wireguard-openbsd-633fb013a34eefa2092c2fc6bff96a0567d14933.tar.xz wireguard-openbsd-633fb013a34eefa2092c2fc6bff96a0567d14933.zip |
MAXHOSTNAMELEN
-rw-r--r-- | usr.sbin/rarpd/rarpd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c index 93873522728..5d486576ce0 100644 --- a/usr.sbin/rarpd/rarpd.c +++ b/usr.sbin/rarpd/rarpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rarpd.c,v 1.9 1997/03/29 04:01:58 deraadt Exp $ */ +/* $OpenBSD: rarpd.c,v 1.10 1997/06/22 22:56:34 deraadt Exp $ */ /* $NetBSD: rarpd.c,v 1.12 1996/03/21 18:28:23 jtc Exp $ */ /* @@ -28,7 +28,7 @@ char copyright[] = #endif /* not lint */ #ifndef lint -static char rcsid[] = "$OpenBSD: rarpd.c,v 1.9 1997/03/29 04:01:58 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rarpd.c,v 1.10 1997/06/22 22:56:34 deraadt Exp $"; #endif @@ -561,7 +561,7 @@ rarp_process(ii, pkt) struct ether_header *ep; struct hostent *hp; u_int32_t target_ipaddr; - char ename[256]; + char ename[MAXHOSTNAMELEN]; struct in_addr in; ep = (struct ether_header *) pkt; |