Bläddra i källkod

Merge pull request #234 from xonatius/patch-1

Fix typo in README.md
Alessandro Decina 3 år sedan
förälder
incheckning
e0d818ff2d
2 ändrade filer med 2 tillägg och 2 borttagningar
  1. 1 1
      README.md
  2. 1 1
      aya/README.md

+ 1 - 1
README.md

@@ -72,7 +72,7 @@ let ingress: &mut CgroupSkb = bpf.program_mut("ingress_filter")?.try_into()?;
 // load the program into the kernel
 // load the program into the kernel
 ingress.load()?;
 ingress.load()?;
 
 
-// attach th program to the root cgroup. `ingress_filter` will be called for all
+// attach the program to the root cgroup. `ingress_filter` will be called for all
 // incoming packets.
 // incoming packets.
 let cgroup = File::open("/sys/fs/cgroup/unified")?;
 let cgroup = File::open("/sys/fs/cgroup/unified")?;
 ingress.attach(cgroup, CgroupSkbAttachType::Ingress)?;
 ingress.attach(cgroup, CgroupSkbAttachType::Ingress)?;

+ 1 - 1
aya/README.md

@@ -71,7 +71,7 @@ let ingress: &mut CgroupSkb = bpf.program_mut("ingress_filter")?.try_into()?;
 // load the program into the kernel
 // load the program into the kernel
 ingress.load()?;
 ingress.load()?;
 
 
-// attach th program to the root cgroup. `ingress_filter` will be called for all
+// attach the program to the root cgroup. `ingress_filter` will be called for all
 // incoming packets.
 // incoming packets.
 let cgroup = File::open("/sys/fs/cgroup/unified")?;
 let cgroup = File::open("/sys/fs/cgroup/unified")?;
 ingress.attach(cgroup, CgroupSkbAttachType::Ingress)?;
 ingress.attach(cgroup, CgroupSkbAttachType::Ingress)?;