diff options
author | 2017-09-20 15:02:47 +0000 | |
---|---|---|
committer | 2017-09-20 15:02:47 +0000 | |
commit | 218b4846d516094ddd2ef93c70979c20b2bcef15 (patch) | |
tree | 158138421b5736d12fcc2ae227c23e219b1f1963 /sbin/dhclient/bpf.c | |
parent | Raise match priority such that imxocotp(4) wins over syscon(4). (diff) | |
download | wireguard-openbsd-218b4846d516094ddd2ef93c70979c20b2bcef15.tar.xz wireguard-openbsd-218b4846d516094ddd2ef93c70979c20b2bcef15.zip |
Nuke a few extraneous blanks.
Diffstat (limited to 'sbin/dhclient/bpf.c')
-rw-r--r-- | sbin/dhclient/bpf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/bpf.c b/sbin/dhclient/bpf.c index 6d57aa868ab..8bfa239fbfb 100644 --- a/sbin/dhclient/bpf.c +++ b/sbin/dhclient/bpf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bpf.c,v 1.66 2017/09/19 13:09:15 krw Exp $ */ +/* $OpenBSD: bpf.c,v 1.67 2017/09/20 15:02:47 krw Exp $ */ /* BPF socket interface code, originally contributed by Archie Cobbs. */ @@ -441,7 +441,7 @@ receive_packet(struct interface_info *ifi, struct sockaddr_in *from, memcpy(packet, ifi->rbuf + ifi->rbuf_offset, hdr.bh_caplen); ifi->rbuf_offset = BPF_WORDALIGN(ifi->rbuf_offset + hdr.bh_caplen); - return hdr.bh_caplen ; + return hdr.bh_caplen; } while (length == 0); return 0 ; } |