source legacy config after macros but before DROP policy
This commit is contained in:
parent
def7813d71
commit
80b0d35e2f
|
@ -15,6 +15,7 @@ and this project **does not adhere to [Semantic Versioning](http://semver.org/sp
|
|||
|
||||
* use long options in some places
|
||||
* output is normalized
|
||||
* source legacy config after macros but before DROP policy
|
||||
|
||||
### Deprecated
|
||||
|
||||
|
|
|
@ -842,6 +842,10 @@ start() {
|
|||
${IPT6} -A INPUT -p icmpv6 -j ACCEPT
|
||||
fi
|
||||
|
||||
# source config file for remaining commands
|
||||
if is_legacy_config; then
|
||||
source_file_or_error "${config_file}"
|
||||
fi
|
||||
|
||||
# IPTables policy
|
||||
#################
|
||||
|
@ -878,10 +882,6 @@ start() {
|
|||
${IPT6} -A OUTPUT -p udp -j DROP
|
||||
fi
|
||||
|
||||
if is_legacy_config; then
|
||||
source_file_or_error "${config_file}"
|
||||
fi
|
||||
|
||||
# Finish
|
||||
########################
|
||||
|
||||
|
|
Loading…
Reference in a new issue