Fix LinkOrder doc comment error

Signed-off-by: Andre Fredette <afredette@redhat.com>
reviewable/pr921/r7
Andre Fredette 2 weeks ago
parent 613bbdba62
commit 3a73cca5ea

@ -442,7 +442,7 @@ bitflags::bitflags! {
///
/// let prog: &mut SchedClassifier = bpf.program_mut("redirect_ingress").unwrap().try_into()?;
/// prog.load()?;
/// let options = TcAttachOptions::tcxoptions(LinkOrder::first());
/// let options = TcAttachOptions::TcxOrder(LinkOrder::first());
/// prog.attach_with_options("eth0", TcAttachType::Ingress, options)?;
///
/// # Ok::<(), aya::EbpfError>(())

Loading…
Cancel
Save