diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-19 15:34:06 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-19 15:34:06 +0300 |
commit | c0f9c0ab848f21cd66e7097acc3069afba4f17d1 (patch) | |
tree | c2623310d2c68d0b28447a7f479ba4b78580f7d2 /include/tests_nameservices | |
parent | f389cc5d9916a989f0675c2cdd58943fe2592360 (diff) |
Style and log improvements
Diffstat (limited to 'include/tests_nameservices')
-rw-r--r-- | include/tests_nameservices | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_nameservices b/include/tests_nameservices index bae149d4..56deb7ac 100644 --- a/include/tests_nameservices +++ b/include/tests_nameservices @@ -618,7 +618,7 @@ DATA=$(${EGREPBINARY} -v '^(#|$)' ${ROOTDIR}etc/hosts | ${EGREPBINARY} '^(localhost|::1)\s' | ${GREPBINARY} -w ${HOSTNAME}) if [ -n "${DATA}" ]; then LogText "Result: Found this server hostname mapped to a local address" - LogText "Output: ${sFIND}" + LogText "Output: ${DATA}" Display --indent 4 --text "- Hostname mapped to localhost" --result "${STATUS_FOUND}" --color YELLOW LogText "Information: Linking the hostname to the localhost entry may break some resolving. Split resolving so that localhost resolves back to 127.0.0.1 (and ::1) and the hostname of the machine to the real IP address on the network interface." ReportSuggestion ${TEST_NO} "Split resolving between localhost and the hostname of the system" |