From 1430ac873d981368ec12a034ced1eedafcb3b5b6 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Sun, 18 Apr 2004 01:19:08 +0000 Subject: more KNF --- usr.sbin/dhcpd/bootp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/dhcpd/bootp.c') diff --git a/usr.sbin/dhcpd/bootp.c b/usr.sbin/dhcpd/bootp.c index 4fdbb62212c..799c55abc36 100644 --- a/usr.sbin/dhcpd/bootp.c +++ b/usr.sbin/dhcpd/bootp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bootp.c,v 1.4 2004/04/18 00:43:27 deraadt Exp $ */ +/* $OpenBSD: bootp.c,v 1.5 2004/04/18 01:19:07 henning Exp $ */ /* * BOOTP Protocol support. @@ -135,7 +135,7 @@ bootp(struct packet *packet) if (!host && !(packet->shared_network->group->allow_bootp)) { note("Ignoring BOOTP request from client %s via %s", - print_hw_addr (packet->raw->htype, + print_hw_addr(packet->raw->htype, packet->raw->hlen, packet->raw->chaddr), packet->raw->giaddr.s_addr ? inet_ntoa(packet->raw->giaddr) : @@ -151,7 +151,7 @@ bootp(struct packet *packet) if (!(packet->shared_network->group->dynamic_bootp)) { lose: note("No applicable record for BOOTP host %s via %s", - print_hw_addr (packet->raw->htype, + print_hw_addr(packet->raw->htype, packet->raw->hlen, packet->raw->chaddr), packet->raw->giaddr.s_addr ? inet_ntoa(packet->raw->giaddr) : -- cgit v1.2.3