diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-03-06 21:59:19 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-03-06 21:59:19 -0500 |
commit | d7e30fa7eed10c5576841b4868df0a9ec8c85328 (patch) | |
tree | 231bd35a3d4511fdcb1048dc9bd3f04ab8c036d4 /ipa-server/ipaserver | |
parent | 2e46645ad5ee6259f027c1418b8c85c4a0c1d0a3 (diff) | |
download | freeipa-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.py | 2 |
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) |