Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jul 2000 01:04:59 +0200 (CEST)
From:      Arjan de Vet <Arjan.deVet@adv.iae.nl>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20074: enable STATETOP functionality for ipfstat (ipfilter)
Message-ID:  <20000720230459.646E422E3@adv.iae.nl>

next in thread | raw e-mail | index | archive | help

>Number:         20074
>Category:       bin
>Synopsis:       enable STATETOP for ipfstat (ipfilter)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 20 16:10:00 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000720230459.646E422E3>