From 1820b8d344e8b4889dec0788b3368b9772d61be9 Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Thu, 7 Jun 2001 08:14:22 +0000 Subject: Print the right port on error message. --- sbin/isakmpd/udp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/isakmpd/udp.c b/sbin/isakmpd/udp.c index 7ccfae66193..f1121c20c43 100644 --- a/sbin/isakmpd/udp.c +++ b/sbin/isakmpd/udp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: udp.c,v 1.29 2001/04/09 22:09:53 ho Exp $ */ +/* $OpenBSD: udp.c,v 1.30 2001/06/07 08:14:21 angelos Exp $ */ /* $EOM: udp.c,v 1.57 2001/01/26 10:09:57 niklas Exp $ */ /* @@ -334,7 +334,7 @@ udp_bind_if (struct ifreq *ifrp, void *arg) if (!t) { log_print ("udp_bind_if: failed to create a socket on %s:%d", - inet_ntoa (*((struct in_addr *)&if_addr)), port); + inet_ntoa (*((struct in_addr *)&if_addr)), ntohs (port)); return; } LIST_INSERT_HEAD (&udp_listen_list, (struct udp_transport *)t, link); -- cgit v1.2.3