Typo "flgas" -> "flags"
authorTyler Cipriani <tyler@tylercipriani.com>
Sun, 9 Jan 2022 21:38:26 +0000 (14:38 -0700)
committerGitHub <noreply@github.com>
Sun, 9 Jan 2022 21:38:26 +0000 (14:38 -0700)
docs/reference_guide.md

index 96e8a3f24cf6f1de949a0f9bef6f358f667777fe..5fc78d49addcbd73ce2f60f5c9098d41d6c530a3 100644 (file)
@@ -1825,7 +1825,7 @@ XDP_FLAGS_REPLACE = (1 << 4)
 
 You can use flags like this ```BPF.attach_xdp(dev="device", fn=b.load_func("fn_name",BPF.XDP), flags=BPF.XDP_FLAGS_UPDATE_IF_NOEXIST)```
 
-The default value of flgas is 0. This means if there is no xdp program with `device`, the fn will run with that device. If there is an xdp program running with device, the old program will be replaced with new fn program.
+The default value of flags is 0. This means if there is no xdp program with `device`, the fn will run with that device. If there is an xdp program running with device, the old program will be replaced with new fn program.
 
 Currently, bcc does not support XDP_FLAGS_REPLACE flag. The following are the descriptions of other flags.