mirror of
https://github.com/tomav/docker-mailserver
synced 2025-08-31 14:25:59 +00:00
* added option to use non-default network-interface (#1227) * minor (stylistic) changes * properly working with Bash arrays for CONTAINER_NETWORKS * cleanup to trigger rebuild * added CODE_OF_CONDUCT to trigger rebuild
This commit is contained in:
@@ -35,8 +35,7 @@ function _sanitize_ipv4_to_subnet_cidr()
|
||||
{
|
||||
local DIGIT_PREFIX_LENGTH="${1#*/}"
|
||||
|
||||
declare -a MASKED_DIGITS
|
||||
declare -a DIGITS
|
||||
declare -a MASKED_DIGITS DIGITS
|
||||
IFS='.' ; read -r -a DIGITS < <(echo "${1%%/*}") ; unset IFS
|
||||
|
||||
for ((i = 0 ; i < 4 ; i++))
|
||||
|
Reference in New Issue
Block a user