From 86d7723602979db21745423b89f387db72d32262 Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 28 Sep 2002 00:31:15 +0000 Subject: [PATCH] Fix problems with oddball shells; updated documentation git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@260 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/changelog.txt | 4 +++- Shorewall/firewall | 4 ++-- Shorewall/releasenotes.txt | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/Shorewall/changelog.txt b/Shorewall/changelog.txt index 865c73333..6156439da 100755 --- a/Shorewall/changelog.txt +++ b/Shorewall/changelog.txt @@ -13,4 +13,6 @@ Changes since 1.3.8 5. Don't insist on state NEW for protocols other than tcp, udp and icmp. Workaround for conntrack glitches in other protocols. -6. Move 'functions' and 'firewall' to /usr/lib/shorewall. +6. Move 'functions', 'version' and 'firewall' to /usr/lib/shorewall. + +7. Fix problems with oddball shells. diff --git a/Shorewall/firewall b/Shorewall/firewall index 70a83340b..249113b8f 100755 --- a/Shorewall/firewall +++ b/Shorewall/firewall @@ -74,7 +74,7 @@ list_search() # $1 = element to search for , $2-$n = list # Function to count list elements # ############################################################################### list_count() { - local temp=`separate_list $1` + local temp="`separate_list $1`" echo $temp | wc -w } @@ -592,7 +592,7 @@ validate_rule() { # Ensure that the passed comma-separated list has 15 or fewer elements # validate_list() { - local temp=`separate_list $1` + local temp="`separate_list $1`" [ `echo $temp | wc -w` -le 15 ] } diff --git a/Shorewall/releasenotes.txt b/Shorewall/releasenotes.txt index e022283ab..64edc3b33 100755 --- a/Shorewall/releasenotes.txt +++ b/Shorewall/releasenotes.txt @@ -11,7 +11,7 @@ New features include: 3. Shorewall startup is now disabled after initial installation until the file /etc/shorewall/shorewall_disabled is removed. -4. The 'functions' file and the 'firewall' symbolic link have been - moved from /var/lib/shorewall to /usr/lib/shorewall to appease the - LFS police at Debian. Bering users may now insert "var/lib/shorewall" - back into /var/lib/lrpkg/root.exclude.list. +4. The 'functions' and 'version' files and the 'firewall' symbolic link + have been moved from /var/lib/shorewall to /usr/lib/shorewall to + appease the LFS police at Debian. Bering users may now insert + "var/lib/shorewall" back into /var/lib/lrpkg/root.exclude.list.