travis didn't like that

Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2017-12-06 22:57:05 +00:00
parent 162a7b56fe
commit 79aada0b87
No known key found for this signature in database
GPG key ID: F5410858022DA5EB

View file

@ -507,15 +507,15 @@ testIPv6() {
# will contain 162 which is the decimal value corresponding to 0xa2
value2=$(( (0x$first)%256 ))
# the ULA test is testing for fc00::/7 according to RFC 4193
if (( value1&254 == 252 )); then
if (( (value1&254)==252 )); then
echo "ULA"
fi
# the GUA test is testing for 2000::/3 according to RFC 4291
if (( value1&112 == 32 )); then
if (( (value1&112)==32 )); then
echo "GUA"
fi
# the LL test is testing for fe80::/10 according to RFC 4193
if (( value1 == 254 )) && (( value2&192 == 128 )); then
if (( (value1)==254 )) && (( (value2&192)==128 )); then
echo "Link-local"
fi
}