summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2013-04-20 00:46:19 +1000
committerJeremy Allison <jra@samba.org>2013-04-19 12:30:17 -0700
commit8543a7b9b3b1efe2911b32c5f7c1cd3db85681b1 (patch)
treee5bdd3b83e4389864bd9a9c71bae209574a3b3f5
parentaad5eeb9b4f67b03988ceefb7888cb63ecefcf30 (diff)
downloadsamba-8543a7b9b3b1efe2911b32c5f7c1cd3db85681b1.tar.gz
samba-8543a7b9b3b1efe2911b32c5f7c1cd3db85681b1.tar.bz2
samba-8543a7b9b3b1efe2911b32c5f7c1cd3db85681b1.zip
samba-tool/dns: Fix a typo in ttl variable name
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--python/samba/netcmd/dns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/samba/netcmd/dns.py b/python/samba/netcmd/dns.py
index 309951d2d8..439b02d5ec 100644
--- a/python/samba/netcmd/dns.py
+++ b/python/samba/netcmd/dns.py
@@ -424,7 +424,7 @@ class PTRRecord(dnsserver.DNS_RPC_RECORD):
self.wType = dnsp.DNS_TYPE_PTR
self.dwFlags = rank | node_flag
self.dwSerial = serial
- self.dwTtleSeconds = ttl
+ self.dwTtlSeconds = ttl
self._ptr = ptr[:]
ptr_name = dnsserver.DNS_RPC_NAME()
ptr_name.str = self._ptr