bpf, docs: Fix literal block for example code
authorHengqi Chen <hengqi.chen@gmail.com>
Sat, 24 Apr 2021 02:12:08 +0000 (10:12 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 27 Apr 2021 15:31:09 +0000 (17:31 +0200)
Add a missing colon so that the code block followed can be rendered
properly.

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210424021208.832116-1-hengqi.chen@gmail.com
Documentation/networking/filter.rst

index 251c6bd73d15c0fc723717e0b7eb53235c7fb73a..3e2221f4abe46681cb0f7602e0ec081471aff5a4 100644 (file)
@@ -327,7 +327,7 @@ Examples for low-level BPF:
   ret #-1
   drop: ret #0
 
-**icmp random packet sampling, 1 in 4**:
+**icmp random packet sampling, 1 in 4**::
 
   ldh [12]
   jne #0x800, drop