git: a524aaf68341 - main - bpf(4): Fix a misnamed constant

From: Guangyuan Yang <ygy_at_FreeBSD.org>
Date: Wed, 13 Oct 2021 23:03:35 UTC
The branch main has been updated by ygy (doc, ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=a524aaf68341d9f83a0ef7dc21ad54728ddaaa1e

commit a524aaf68341d9f83a0ef7dc21ad54728ddaaa1e
Author:     Felix Johnson <felix.the.red@gmail.com>
AuthorDate: 2021-10-13 23:00:41 +0000
Commit:     Guangyuan Yang <ygy@FreeBSD.org>
CommitDate: 2021-10-13 23:03:18 +0000

    bpf(4): Fix a misnamed constant
    
    rarpd.c was modified in r19859 to use REVARP_REQUEST instead of
    ARPOP_REVREQUEST.
    
    PR:             183333
    MFC after:      3 days
    Reported by:    pluknet <pluknet@gmail.com>
---
 share/man/man4/bpf.4 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/man/man4/bpf.4 b/share/man/man4/bpf.4
index 66f4ae72918b..f285d5276376 100644
--- a/share/man/man4/bpf.4
+++ b/share/man/man4/bpf.4
@@ -49,7 +49,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd July 22, 2021
+.Dd October 13, 2021
 .Dt BPF 4
 .Os
 .Sh NAME
@@ -1079,7 +1079,7 @@ struct bpf_insn insns[] = {
 	BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 12),
 	BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ETHERTYPE_REVARP, 0, 3),
 	BPF_STMT(BPF_LD+BPF_H+BPF_ABS, 20),
-	BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, REVARP_REQUEST, 0, 1),
+	BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, ARPOP_REVREQUEST, 0, 1),
 	BPF_STMT(BPF_RET+BPF_K, sizeof(struct ether_arp) +
 		 sizeof(struct ether_header)),
 	BPF_STMT(BPF_RET+BPF_K, 0),