Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2017-09-17 21:01:07 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2017-09-17 21:01:07 +0300
commit94f656bf657709bab64fccef44e6d63b9459326e (patch)
tree386554b85b2fe68dc94c931324857085f67a790c /include/tests_networking
parent6aecde7e140753cbdfcdc476a693ba0b015efb61 (diff)
Add 127.0.1.1 to NETW-2704 test
Diffstat (limited to 'include/tests_networking')
-rw-r--r--include/tests_networking2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking
index 9d275aee..989054d0 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -131,7 +131,7 @@
LogText "Found nameserver: ${I}"
Report "nameserver[]=${I}"
# Check if a local resolver is available (like DNSMasq)
- if [ "${I}" = "::1" -o "${I}" = "127.0.0.1" -o "${I}" = "0.0.0.0" ]; then
+ if [ "${I}" = "::1" -o "${I}" = "127.0.0.1" -o "${I}" = "127.0.1.1" -o "${I}" = "0.0.0.0" ]; then
LOCAL_DNSRESOLVER_FOUND=1
fi
if [ ! -z "${DIGBINARY}" ]; then