summaryrefslogtreecommitdiff
path: root/sbin/dhclient/dhclient.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-05-11 14:00:53 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-05-11 14:00:53 +0000
commit2b8a0abce3e4bb449e920faece472fcc44e7e6a3 (patch)
tree0b5ed01eb164c8b2d3190da9663ba547acd71639 /sbin/dhclient/dhclient.c
parent7d13ebf28b7031b23e5565731b57cb396ffe107b (diff)
Tweak DHCPREQUEST log message to omit 'port N', since the port is not
set at that point, and is always set to 67 in send_packet().
Diffstat (limited to 'sbin/dhclient/dhclient.c')
-rw-r--r--sbin/dhclient/dhclient.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 8398522eb13..2289d96e00a 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.304 2014/05/11 12:40:37 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.305 2014/05/11 14:00:52 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -1357,8 +1357,8 @@ send_request(void)
client->bootrequest_packet.secs = htons(65535);
}
- note("DHCPREQUEST on %s to %s port %hu", ifi->name,
- inet_ntoa(destination.sin_addr), ntohs(destination.sin_port));
+ note("DHCPREQUEST on %s to %s", ifi->name,
+ inet_ntoa(destination.sin_addr));
send_packet(from, destination.sin_addr);