diff options
author | 2017-06-19 19:28:35 +0000 | |
---|---|---|
committer | 2017-06-19 19:28:35 +0000 | |
commit | 6bde396b279f007694869a66359960d2f8be7805 (patch) | |
tree | ebd8ff9292afbbef2a13eeca8d1fef8d8e95e592 /sbin/dhclient/bpf.c | |
parent | missing letter in previous; (diff) | |
download | wireguard-openbsd-6bde396b279f007694869a66359960d2f8be7805.tar.xz wireguard-openbsd-6bde396b279f007694869a66359960d2f8be7805.zip |
Various KNF nits.
Diffstat (limited to 'sbin/dhclient/bpf.c')
-rw-r--r-- | sbin/dhclient/bpf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/dhclient/bpf.c b/sbin/dhclient/bpf.c index ffb7f1d5606..6da8a26f76c 100644 --- a/sbin/dhclient/bpf.c +++ b/sbin/dhclient/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.52 2017/06/14 15:57:25 krw Exp $ */ +/* $OpenBSD: bpf.c,v 1.53 2017/06/19 19:28:35 krw Exp $ */ /* BPF socket interface code, originally contributed by Archie Cobbs. */ @@ -395,7 +395,7 @@ receive_packet(struct interface_info *ifi, struct sockaddr_in *from, /* Decode the physical header. */ offset = decode_hw_header(ifi->rbuf + ifi->rbuf_offset, - hdr.bh_caplen, hfrom); + hdr.bh_caplen, hfrom); /* * If a physical layer checksum failed (dunno of any @@ -412,7 +412,7 @@ receive_packet(struct interface_info *ifi, struct sockaddr_in *from, /* Decode the IP and UDP headers. */ offset = decode_udp_ip_header(ifi->rbuf + ifi->rbuf_offset, - hdr.bh_caplen, from); + hdr.bh_caplen, from); /* If the IP or UDP checksum was bad, skip the packet. */ if (offset < 0) { |