From Arjan.deVet@adv.iae.nl  Thu Jul 20 16:05:28 2000
Return-Path: <Arjan.deVet@adv.iae.nl>
Received: from news.IAEhv.nl (news.IAE.nl [194.151.64.4])
	by hub.freebsd.org (Postfix) with ESMTP id 96CE137C18A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 20 Jul 2000 16:05:22 -0700 (PDT)
	(envelope-from Arjan.deVet@adv.iae.nl)
Received: (from uucp@localhost)
	by news.IAEhv.nl (8.9.1/8.9.1) with IAEhv.nl id BAA13726
	for FreeBSD-gnats-submit@freebsd.org; Fri, 21 Jul 2000 01:05:20 +0200 (MET DST)
Received: by adv.iae.nl (Postfix, from userid 100)
	id 646E422E3; Fri, 21 Jul 2000 01:04:59 +0200 (CEST)
Message-Id: <20000720230459.646E422E3@adv.iae.nl>
Date: Fri, 21 Jul 2000 01:04:59 +0200 (CEST)
From: Arjan de Vet <Arjan.deVet@adv.iae.nl>
Reply-To: Arjan.deVet@adv.iae.nl
To: FreeBSD-gnats-submit@freebsd.org
Subject: enable STATETOP functionality for ipfstat (ipfilter)
X-Send-Pr-Version: 3.2

>Number:         20074
>Category:       bin
>Synopsis:       enable STATETOP for ipfstat (ipfilter)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    darrenr
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 20 16:10:00 PDT 2000
>Closed-Date:    Thu Mar 1 14:53:13 PST 2001
>Last-Modified:  Thu Mar 01 14:53:52 PST 2001
>Originator:     Arjan de Vet
>Release:        FreeBSD 4.1-RC i386
>Organization:
-
>Environment:

FreeBSD adv.iae.nl 4.1-RC FreeBSD 4.1-RC #31: Thu Jul 20 18:50:34 CEST
2000     root@adv.iae.nl:/usr/src/sys/compile/ADV  i386

>Description:

The STATETOP functionality in ipfstat is not enabled (in -stable and
-current). It gives a top-like display of the state table.

>How-To-Repeat:

# ipfstat -t
ipfstat : state top facility not compiled in

>Fix:

Index: Makefile
===================================================================
RCS file: /home/freebsd/CVS/src/sbin/ipfstat/Makefile,v
retrieving revision 1.4.2.1
diff -u -r1.4.2.1 Makefile
--- Makefile	2000/07/20 05:15:19	1.4.2.1
+++ Makefile	2000/07/20 22:07:39
@@ -5,7 +5,8 @@
 PROG=	ipfstat
 MAN8=	ipfstat.8
 SRCS=	fils.c parse.c opt.c kmem.c facpri.c common.c
-CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
+LDADD+=	-lncurses
+CFLAGS+=-DIPL_NAME=\"/dev/ipl\" -DSTATETOP -I- -I${.CURDIR}/../../sys/netinet -I${.CURDIR}/../../sys -I${.CURDIR}/../../contrib/ipfilter
 
 MAINTAINER=	guido@freebsd.org
 


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->darrenr 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Fri Jul 21 02:38:58 PDT 2000 
Responsible-Changed-Why:  
Over to the ipfilter maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20074 
State-Changed-From-To: open->closed 
State-Changed-By: nectar 
State-Changed-When: Thu Mar 1 14:53:13 PST 2001 
State-Changed-Why:  
Committed in revision 1.4.2.2 of src/sbin/ipfstat/Makefile. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=20074 
>Unformatted:
