Clean up extended multiport support

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1981 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-03-04 22:25:46 +00:00
parent 04b93af30b
commit faea5f0c2a
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,8 @@ Changes in 2.2.2
5) Add the output of 'arp -na' to the 'shorewall status' display.
6) Provide support for the Extended multiport match available in 2.6.11.
Changes in 2.2.1
1) Add examples to the zones and policy files.

View File

@ -5606,7 +5606,8 @@ report_capabilities() {
echo "Shorewall has detected the following iptables/netfilter capabilities:"
report_capability $NAT_ENABLED "NAT"
report_capability $MANGLE_ENABLED "Packet Mangling"
[ -n "$XMULTIPORT" ] && report_capability $XMULTIPORT "Extended Multi-port Match" || report_capability $MULTIPORT "Multi-port Match"
report_capability $MULTIPORT "Multi-port Match"
[ -n "$MULTIPORT" ] && report_capability $XMULTIPORT "Extended Multi-port Match"
report_capability $CONNTRACK_MATCH "Connection Tracking Match"
report_capability $PKTTYPE "Packet Type Match"
report_capability $POLICY_MATCH "Policy Match"