diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-18 01:19:08 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-04-18 01:19:08 +0000 |
commit | 1430ac873d981368ec12a034ced1eedafcb3b5b6 (patch) | |
tree | 9a5039f654063009376d31f467dbb5d1a0dd9987 /usr.sbin/dhcpd/bootp.c | |
parent | a853d4bb326980219362af5cb4fc3bc9167a15ef (diff) |
more KNF
Diffstat (limited to 'usr.sbin/dhcpd/bootp.c')
-rw-r--r-- | usr.sbin/dhcpd/bootp.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) : |