summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2012-09-07 14:46:41 +0200
committerMartin Kosek <mkosek@redhat.com>2012-09-07 15:40:10 +0200
commit3796b689699d3b316c5192d41b1e2a624048ae33 (patch)
tree95faf66d6816122d528b3b5a958931b3930b21a3 /ipalib
parent2daa2cb57a81a99f9f4ffdf6a4428dc62ca5b455 (diff)
downloadfreeipa.git-3796b689699d3b316c5192d41b1e2a624048ae33.tar.gz
freeipa.git-3796b689699d3b316c5192d41b1e2a624048ae33.tar.xz
freeipa.git-3796b689699d3b316c5192d41b1e2a624048ae33.zip
Cast DNS SOA serial maximum boundary to long
This will fix i386 builds where the SOA serial value written in API.txt was already of a long type while on x86_64 it was still of an int type.
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/dns.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py
index 8e297099..d71607f2 100644
--- a/ipalib/plugins/dns.py
+++ b/ipalib/plugins/dns.py
@@ -1585,7 +1585,7 @@ class dnszone(LDAPObject):
label=_('SOA serial'),
doc=_('SOA record serial number'),
minvalue=1,
- maxvalue=4294967295,
+ maxvalue=4294967295L,
default_from=_create_zone_serial,
autofill=True,
),