diff options
-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) |