aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-01-11 02:59:22 +0000
committerBrian Somers <brian@FreeBSD.org>1998-01-11 02:59:22 +0000
commit492e660800fb3be3470e56566defb345aef4aca5 (patch)
tree8fb91ff21a1fc898511d77d53bed1a13e6f1fbaa /usr.sbin
parentefae35abc0a09c3f8f32afb5e087698b011f918d (diff)
downloadsrc-492e660800fb3be3470e56566defb345aef4aca5.tar.gz
src-492e660800fb3be3470e56566defb345aef4aca5.zip
Allow 6 byte interface names (for >tun99)
Notes
Notes: svn path=/head/; revision=32416
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/route.c b/usr.sbin/ppp/route.c
index addf6022685f..1983c2b885cc 100644
--- a/usr.sbin/ppp/route.c
+++ b/usr.sbin/ppp/route.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: route.c,v 1.37 1997/12/27 19:23:13 brian Exp $
+ * $Id: route.c,v 1.38 1997/12/30 02:45:47 brian Exp $
*
*/
@@ -311,7 +311,7 @@ p_flags(u_long f, int max)
static const char *
Index2Nam(int idx)
{
- static char ifs[200][6]; /* We could have 256 tun devices ! */
+ static char ifs[200][7]; /* We could have 256 tun devices ! */
static int nifs, debug_done;
if (!nifs) {