From 48f5d6db87767d7fb96250723663f4fb0e2b015c Mon Sep 17 00:00:00 2001 From: Dirk Date: Tue, 3 Mar 2015 07:21:30 +0100 Subject: [PATCH] - MX record: the lower the # the higher the priority (thx, rechi) --- testssl.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index 6484a07..7acc47c 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2708,7 +2708,7 @@ mx_allentries() { fi # test first higher priority servers - MXs=$(echo "$MXs" | sort -nr | sed -e 's/^.* //' -e 's/\.$//') + MXs=$(echo "$MXs" | sort -n | sed -e 's/^.* //' -e 's/\.$//') if [ -n "$MXs" ] ; then for MX in $MXs; do @@ -2917,6 +2917,6 @@ case "$1" in exit $ret ;; esac -# $Id: testssl.sh,v 1.197 2015/03/02 13:42:18 dirkw Exp $ +# $Id: testssl.sh,v 1.198 2015/03/03 06:21:20 dirkw Exp $ # vim:ts=5:sw=5