diff options
author | Martin Kosek <mkosek@redhat.com> | 2012-09-07 14:46:41 +0200 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2012-09-07 15:40:00 +0200 |
commit | 1915c2d4dd949edfaefa915daf2250be6cfaeeb3 (patch) | |
tree | 95faf66d6816122d528b3b5a958931b3930b21a3 /ipalib/plugins | |
parent | 7c054377e33ab650706a8928f9ce12f40aaebcfc (diff) | |
download | freeipa-1915c2d4dd949edfaefa915daf2250be6cfaeeb3.tar.gz freeipa-1915c2d4dd949edfaefa915daf2250be6cfaeeb3.tar.xz freeipa-1915c2d4dd949edfaefa915daf2250be6cfaeeb3.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/plugins')
-rw-r--r-- | ipalib/plugins/dns.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 8e2970994..d71607f28 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, ), |