From pst@Shockwave.COM  Tue Mar 28 18:21:36 1995
Received: from precipice.shockwave.com (precipice.shockwave.com [171.69.108.33]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA02678 for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Mar 1995 18:21:35 -0800
Received: (from root@localhost) by precipice.shockwave.com (8.6.11/8.6.9) id SAA00574; Tue, 28 Mar 1995 18:20:59 -0800
Message-Id: <199503290220.SAA00574@precipice.shockwave.com>
Date: Tue, 28 Mar 1995 18:20:59 -0800
From: Paul Traina <pst@Shockwave.COM>
Reply-To: pst@Shockwave.COM
To: FreeBSD-gnats-submit@freebsd.org
Subject: netstat -r reports entries with negative expire times
X-Send-Pr-Version: 3.2

>Number:         277
>Category:       kern
>Synopsis:       netstat -r reports entries with negative expire times
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 28 18:30:00 1995
>Closed-Date:    Sat Jan 20 03:12:38 PST 1996
>Last-Modified:  Sat Jan 20 03:14:51 PST 1996
>Originator:     Paul Traina
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
>Environment:

FreeBSD 2.1.0-current as of 3/27/95

>Description:

Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          171.69.108.38      UGSc        7        1       ed0
127.0.0.1        127.0.0.1          UH          0       70       lo0
171.69.108.32    link#1             UC          0        0       ed0  -1279
171.69.108.33    0:0:c0:93:88:53    UHLW        2      246       lo0
171.69.108.38    0:0:c:2:f4:74      UHLW        8        4       ed0   1145
224              link#1             UCS         0        0       ed0  -1279

>How-To-Repeat:

% netstat -rn

>Fix:
	
In the routing table, clonable master entries should probably never have
an expire time set or displayed.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mpp 
State-Changed-When: Sat Jan 20 03:12:38 PST 1996 
State-Changed-Why:  
Fixed by the following revision to netstat/route.c: 

revision 1.4 
date: 1995/04/06 06:09:44;  author: jkh;  state: Exp;  lines: +7 -5 
The negative expire times shown by netstat are confusing and ugly. 

Destination      Gateway            Flags     Refs     Use     Netif Expire 
199.182.75.128   link#1             UC          0        0       ed0 -842660 
Submitted by:	John Capo <jc@irbs.com> 
>Unformatted:


