Skip to content

Commit

Permalink
rename SchedClassifierLink:new() to new_tc_link()
Browse files Browse the repository at this point in the history
Avoids name confilct with pr #462

Signed-off-by: Andre Fredette <afredette@redhat.com>
  • Loading branch information
anfredette committed Jan 25, 2023
1 parent 67efc33 commit 849796c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aya/src/programs/tc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ impl SchedClassifierLink {
/// [`SchedClassifierLink::detach`] will return a [`TcError::NetlinkError`]
/// - If you create a link for a program that you do not own, detaching it may have unintended
/// consequences.
pub fn new(
pub fn new_tc_link(
if_name: &str,
attach_type: TcAttachType,
priority: u16,
Expand Down

0 comments on commit 849796c

Please sign in to comment.