summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2015-08-24 12:39:57 +0200
committerMichael Vogt <mvo@ubuntu.com>2015-08-24 12:39:57 +0200
commitc8ec5ab764e90565b58ba5f55f4d9d6939b44c69 (patch)
treea1d6531ced159f516d7ce7eaa008e1ae6eac99c7
parenta27c4e88a5820ac0642c68f72d01e5eac3dfc6b5 (diff)
Fix typo
Thanks: Julian Andres Klode Git-Dch: ignore
-rw-r--r--doc/apt.conf.5.xml2
-rw-r--r--methods/connect.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/apt.conf.5.xml b/doc/apt.conf.5.xml
index 13732f84f..920b42ba1 100644
--- a/doc/apt.conf.5.xml
+++ b/doc/apt.conf.5.xml
@@ -597,7 +597,7 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";};
</para></listitem>
</varlistentry>
- <varlistentry><term><option>EnableSrvRecods</option></term>
+ <varlistentry><term><option>EnableSrvRecords</option></term>
<listitem><para>
This option controls if apt will use the DNS SRV server record
as specified in RFC 2782 to select an alternative server to
diff --git a/methods/connect.cc b/methods/connect.cc
index 5612af6ec..dd45e7203 100644
--- a/methods/connect.cc
+++ b/methods/connect.cc
@@ -272,7 +272,7 @@ bool Connect(std::string Host,int Port,const char *Service,
if(LastHost != Host || LastPort != Port)
{
SrvRecords.clear();
- if (_config->FindB("Acquire::EnableSrvRecods", true) == true)
+ if (_config->FindB("Acquire::EnableSrvRecords", true) == true)
GetSrvRecords(Host, DefPort, SrvRecords);
}
// we have no SrvRecords for this host, connect right away