From 1915c2d4dd949edfaefa915daf2250be6cfaeeb3 Mon Sep 17 00:00:00 2001 From: Martin Kosek Date: Fri, 7 Sep 2012 14:46:41 +0200 Subject: 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. --- ipalib/plugins/dns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/plugins') 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, ), -- cgit