Fix display_c for display
parent
3ac820df2c
commit
f392fc4d7b
|
@ -60,7 +60,7 @@ function default_policy_set {
|
||||||
ipv6) VER_IPTABLES=${IP6TABLES} ;;
|
ipv6) VER_IPTABLES=${IP6TABLES} ;;
|
||||||
ipv4|*) VER_IPTABLES=${IPTABLES} ;;
|
ipv4|*) VER_IPTABLES=${IPTABLES} ;;
|
||||||
esac
|
esac
|
||||||
${display_c} RED "Setting ${IP_VERSION} policies to ${SET_POLICY}..."
|
${display} RED "Setting ${IP_VERSION} policies to ${SET_POLICY}..."
|
||||||
${VER_IPTABLES} --policy INPUT ${INPOLICY}
|
${VER_IPTABLES} --policy INPUT ${INPOLICY}
|
||||||
${VER_IPTABLES} --policy OUTPUT ${OUTPOLICY}
|
${VER_IPTABLES} --policy OUTPUT ${OUTPOLICY}
|
||||||
${VER_IPTABLES} --policy FORWARD ${FWDPOLICY}
|
${VER_IPTABLES} --policy FORWARD ${FWDPOLICY}
|
||||||
|
|
Loading…
Reference in New Issue