mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
- MX record: the lower the # the higher the priority (thx, rechi)
This commit is contained in:
parent
77ed44207c
commit
f23904b35f
@ -2708,7 +2708,7 @@ mx_allentries() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# test first higher priority servers
|
# 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
|
if [ -n "$MXs" ] ; then
|
||||||
for MX in $MXs; do
|
for MX in $MXs; do
|
||||||
@ -2917,6 +2917,6 @@ case "$1" in
|
|||||||
exit $ret ;;
|
exit $ret ;;
|
||||||
esac
|
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
|
# vim:ts=5:sw=5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user