mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 06:38:53 +01:00
Move display_list() to lib.base
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4519 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
a53dd9bc49
commit
8f4664cc3b
@ -3078,14 +3078,6 @@ process_tos() # $1 = name of tos file
|
||||
fi
|
||||
}
|
||||
|
||||
#
|
||||
# Display elements of a list with leading white space
|
||||
#
|
||||
display_list() # $1 = List Title, rest of $* = list to display
|
||||
{
|
||||
[ $# -gt 1 ] && echo " $*"
|
||||
}
|
||||
|
||||
policy_rules() # $1 = chain to add rules to
|
||||
# $2 = policy
|
||||
# $3 = loglevel
|
||||
|
@ -503,14 +503,6 @@ delete_nat() {
|
||||
[ -d ${VARDIR} ] && touch ${VARDIR}/nat
|
||||
}
|
||||
|
||||
#
|
||||
# Display elements of a list with leading white space
|
||||
#
|
||||
display_list() # $1 = List Title, rest of $* = list to display
|
||||
{
|
||||
[ $# -gt 1 ] && echo " $*"
|
||||
}
|
||||
|
||||
#
|
||||
# Verify that kernel has netfilter support
|
||||
#
|
||||
|
@ -374,6 +374,14 @@ combine_list()
|
||||
echo $o
|
||||
}
|
||||
|
||||
#
|
||||
# Display elements of a list with leading white space
|
||||
#
|
||||
display_list() # $1 = List Title, rest of $* = list to display
|
||||
{
|
||||
[ $# -gt 1 ] && echo " $*"
|
||||
}
|
||||
|
||||
#
|
||||
# Determine if a chain is a policy chain
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user