The assert check does not proper work when using doubble square backets,
so the check fails for some unknown reasons. Removing one bracket will allow
to successfully perform the assert check again.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
}
ipv6_addr_eq() {
- assert [[ $# -eq 2 ]]
+ assert [ $# -eq 2 ]
local addr1="${1}"
local addr2="${2}"
}
ipv6_addr_gt() {
- assert [[ $# -eq 2 ]]
+ assert [ $# -eq 2 ]
local addr1="${1}"
local addr2="${2}"