summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kerberosIV/krb/send_to_kdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kerberosIV/krb/send_to_kdc.c b/kerberosIV/krb/send_to_kdc.c
index 7b6009008e1..90ce6756236 100644
--- a/kerberosIV/krb/send_to_kdc.c
+++ b/kerberosIV/krb/send_to_kdc.c
@@ -315,7 +315,7 @@ send_recv(pkt, rpkt, f, _to, addrs)
if (krb_debug)
fprintf(stderr,
"packet not from %lx\n",
- (long)hp->h_addr);
+ ntohl(hp->h_addr));
}
if (krb_debug)
fprintf(stderr, "%s: received packet from wrong host! (%x)\n",