mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
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:
parent
26cf234d04
commit
eae01af2fc
@ -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.
|
||||
#
|
||||
###############################################################################
|
||||
|
@ -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
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user