shorewall show macros -- Take 3

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3085 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-11-27 21:11:14 +00:00
parent 26cf234d04
commit eae01af2fc
2 changed files with 2 additions and 6 deletions

View File

@ -3,7 +3,7 @@
#
# /usr/share/shorewall/macro.SMB
#
# This macro handle Microsoft SMB traffic. You need to invoke this macro
# This macro handles Microsoft SMB traffic. You need to invoke this macro
# in both directions.
#
###############################################################################

View File

@ -919,11 +919,7 @@ case "$1" in
if [ -n "$foo" ]; then
macro=${macro#*.}
foo=${foo%.*}
if [ ${#macro} -lt 4 ]; then
echo " $macro ${foo#\#}"
else
echo " $macro ${foo#\#}"
fi
echo " $macro ${foo#\#}"
fi
done
;;