summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/route.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-01-11 02:59:22 +0000
committerbrian <brian@FreeBSD.org>1998-01-11 02:59:22 +0000
commit5487c4253d19c58bca653baf2c61d21865140649 (patch)
treefb2b7159ec946534d4b986113ffe8bd3d22c4230 /usr.sbin/ppp/route.c
parent4a0e83676dbc996626e236c1ec2ab0add11f9b63 (diff)
downloadFreeBSD-src-5487c4253d19c58bca653baf2c61d21865140649.zip
FreeBSD-src-5487c4253d19c58bca653baf2c61d21865140649.tar.gz
Allow 6 byte interface names (for >tun99)
Diffstat (limited to 'usr.sbin/ppp/route.c')
-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 addf602..1983c2b 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) {
OpenPOWER on IntegriCloud