summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-03-06 21:59:19 -0500
committerRob Crittenden <rcritten@redhat.com>2008-03-06 21:59:19 -0500
commitd7e30fa7eed10c5576841b4868df0a9ec8c85328 (patch)
tree231bd35a3d4511fdcb1048dc9bd3f04ab8c036d4 /ipa-server/ipaserver
parent2e46645ad5ee6259f027c1418b8c85c4a0c1d0a3 (diff)
downloadfreeipa-d7e30fa7eed10c5576841b4868df0a9ec8c85328.tar.gz
freeipa-d7e30fa7eed10c5576841b4868df0a9ec8c85328.tar.xz
freeipa-d7e30fa7eed10c5576841b4868df0a9ec8c85328.zip
Use standard size and alignment for the packed data so it works on 64-bit hosts
Diffstat (limited to 'ipa-server/ipaserver')
-rw-r--r--ipa-server/ipaserver/installutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipaserver/installutils.py b/ipa-server/ipaserver/installutils.py
index eeefae50e..dd4104042 100644
--- a/ipa-server/ipaserver/installutils.py
+++ b/ipa-server/ipaserver/installutils.py
@@ -54,7 +54,7 @@ def verify_fqdn(host_name):
# Compare the forward and reverse
forward = rs[0].dns_name
- addr = socket.inet_ntoa(struct.pack('L',rs[0].rdata.address))
+ addr = socket.inet_ntoa(struct.pack('=L',rs[0].rdata.address))
addr = addr + ".in-addr.arpa."
rs = dnsclient.query(addr, dnsclient.DNS_C_IN, dnsclient.DNS_T_PTR)