diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-23 01:17:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-06-23 01:17:17 +0000 |
commit | ab0ae6b3a89d8fcfff0a483bccd6331c9b41b4fe (patch) | |
tree | aeaab11095d0a43a0b22a8657a24476e95e528cd /kerberosIV/krb/send_to_kdc.c | |
parent | 88dde546af4f773e6efadb5e5de21ad53b57c5e2 (diff) |
print addr in network byte order
Diffstat (limited to 'kerberosIV/krb/send_to_kdc.c')
-rw-r--r-- | kerberosIV/krb/send_to_kdc.c | 2 |
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", |