Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/routed array seems too small



details:   https://anonhg.NetBSD.org/src/rev/cdb60bed0d8d
branches:  trunk
changeset: 545700:cdb60bed0d8d
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Apr 15 07:37:34 2003 +0000

description:
array seems too small

diffstat:

 sbin/routed/table.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r d10abb02762e -r cdb60bed0d8d sbin/routed/table.c
--- a/sbin/routed/table.c       Tue Apr 15 07:36:14 2003 +0000
+++ b/sbin/routed/table.c       Tue Apr 15 07:37:34 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: table.c,v 1.17 2002/12/06 02:18:38 thorpej Exp $       */
+/*     $NetBSD: table.c,v 1.18 2003/04/15 07:37:34 itojun Exp $        */
 
 /*
  * Copyright (c) 1983, 1988, 1993
@@ -36,7 +36,7 @@
 #include "defs.h"
 
 #ifdef __NetBSD__
-__RCSID("$NetBSD: table.c,v 1.17 2002/12/06 02:18:38 thorpej Exp $");
+__RCSID("$NetBSD: table.c,v 1.18 2003/04/15 07:37:34 itojun Exp $");
 #elif defined(__FreeBSD__)
 __RCSID("$FreeBSD$");
 #else
@@ -1819,8 +1819,7 @@
         struct rt_spare *rts)
 {
        struct rt_spare swap;
-       char label[10];
-
+       char label[20];
 
        /* Do not change permanent routes */
        if (0 != (rt->rt_state & (RS_MHOME | RS_STATIC | RS_RDISC



Home | Main Index | Thread Index | Old Index