https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291569
Bug ID: 291569
Summary: ipfw table add/delete requires tty
Product: Base System
Version: 15.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Starting from 15.0-RELEASE, ipfw table add/delete commands require tty:
# ipfw table TEST1 create or-flush
# ipfw table TEST1 add 0.0.0.1 </dev/null
added: 0.0.0.1/32 0
ipfw: Adding record failed: Inappropriate ioctl for device
# echo $?
71
# ipfw table TEST1 list
0.0.0.1/32 0
# ipfw table TEST1 delete 0.0.0.1 </dev/null
deleted: 0.0.0.1/32 0
ipfw: Deleting record failed: Inappropriate ioctl for device
# echo $?
71
# ipfw table TEST1 list
#
Workaround: use -q option:
# ipfw table TEST1 create or-flush
# ipfw -q table TEST1 add 0.0.0.1 </dev/null
# echo $?
0
# ipfw table TEST1 list
0.0.0.1/32 0
# ipfw -q table TEST1 delete 0.0.0.1 </dev/null
# echo $?
0
# ipfw table TEST1 list
#
--
You are receiving this mail because:
You are the assignee for the bug.