mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-12 10:24:55 +02: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:
parent
a0791ef457
commit
8e8671bb42
6 changed files with 138 additions and 42 deletions
|
@ -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++))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue