From 849796c4208b520cd12a7ac5de28857dc885c026 Mon Sep 17 00:00:00 2001 From: Andre Fredette Date: Sun, 18 Dec 2022 10:42:36 -0500 Subject: [PATCH] rename SchedClassifierLink:new() to new_tc_link() Avoids name confilct with pr #462 Signed-off-by: Andre Fredette --- aya/src/programs/tc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aya/src/programs/tc.rs b/aya/src/programs/tc.rs index 5185bb8d..e83fc633 100644 --- a/aya/src/programs/tc.rs +++ b/aya/src/programs/tc.rs @@ -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,