Subject: bin/29509: ipf -T opt1,opt2 not working correctly on netbsd-2
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <j+nbsd@2005.salmi.ch>
List: netbsd-bugs
Date: 02/22/2005 22:49:00
>Number: 29509
>Category: bin
>Synopsis: ipf -T opt1,opt2 not working correctly
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 22 22:49:00 +0000 2005
>Originator: Jukka Salmi
>Release: NetBSD 2.0_STABLE
>Environment:
ipf: IP Filter: v4.1.3 (396)
Kernel: IP Filter: v4.1.3
System: NetBSD urchin.salmi.ch 2.0_STABLE NetBSD 2.0_STABLE (URCHIN) #0: Thu Feb 17 10:56:50 UTC 2005 root@moray.salmi.ch:/build/nbsd/i386/sys/arch/i386/compile/URCHIN i386
Architecture: i386
Machine: i386
>Description:
'ipf -T list' and 'ipf -T <opt>' work fine; however, if more than one option
is specified, the values printed are not correct. It seems as if for all
options given the values of the first option are printed.
>How-To-Repeat:
$ ipf -T fr_tcpidletimeout
fr_tcpidletimeout min 0x1 max 0x7fffffff current 864000
$ ipf -T fr_tcphalfclosed
fr_tcphalfclosed min 0x1 max 0x7fffffff current 14400
$ ipf -T fr_tcpidletimeout,fr_tcphalfclosed
fr_tcpidletimeout min 0x1 max 0x7fffffff current 864000
fr_tcphalfclosed min 0x1 max 0x7fffffff current 864000
$ ipf -T fr_tcphalfclosed,fr_tcpidletimeout
fr_tcphalfclosed min 0x1 max 0x7fffffff current 14400
fr_tcpidletimeout min 0x1 max 0x7fffffff current 14400
>Fix:
unknown