diff options
| author | Roy Marples <roy@marples.name> | 2018-05-06 10:11:44 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2018-05-06 10:11:44 +0100 |
| commit | 51ac565dafd1f5f6afe95a5d3b6a4a4d7d64f8ae (patch) | |
| tree | 46d78347e6ba0631f3c2b396caa3c00fee41cf65 | |
| parent | a979907b7d6ad0687c4e354f119760c35134af55 (diff) | |
| download | dhcpcd-51ac565dafd1f5f6afe95a5d3b6a4a4d7d64f8ae.tar.xz | |
bpf: Clarify ip_hl check.
| -rw-r--r-- | src/bpf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -540,7 +540,7 @@ static const struct bpf_insn bpf_bootp_ether[] = { #define BPF_BOOTP_ETHER_LEN __arraycount(bpf_bootp_ether) static const struct bpf_insn bpf_bootp_filter[] = { - /* Make sure it's an IPv4 packet. */ + /* Make sure it's an optionless IPv4 packet. */ BPF_STMT(BPF_LD + BPF_B + BPF_IND, 0), BPF_JUMP(BPF_JMP + BPF_JEQ + BPF_K, 0x45, 1, 0), BPF_STMT(BPF_RET + BPF_K, 0), |
