diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-09-21 14:46:12 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-09-21 14:46:12 +0100 |
commit | 68cbd6d4b0d8673edc08d42d61ab6c6603470c36 (patch) | |
tree | 15f84d56e9d52733b6f3d7549a069b10ce6f4d49 /net | |
parent | 3f47ff7634d43c5e8c4dcbc502344cd53d6ffcb4 (diff) | |
download | prosody-68cbd6d4b0d8673edc08d42d61ab6c6603470c36.tar.gz prosody-68cbd6d4b0d8673edc08d42d61ab6c6603470c36.zip |
net.dns: (for some reason this commit didn't pull over from 0.5) Remove hard-coded 4.2.2.1 from dns.lua
Diffstat (limited to 'net')
-rw-r--r-- | net/dns.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dns.lua b/net/dns.lua index b5f87ad2..ff07d26e 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -504,7 +504,6 @@ function resolver:setnameserver (address) -- - - - - - - - - - setnameserver function resolver:adddefaultnameservers () -- - - - - adddefaultnameservers - self:addnameserver("4.2.2.1"); do return; end local resolv_conf = io.open("/etc/resolv.conf"); if resolv_conf then for line in resolv_conf:lines() do |