Skip to content

Commit

Permalink
fix: change classifier for TC prog
Browse files Browse the repository at this point in the history
  • Loading branch information
shaneutt committed Aug 28, 2023
1 parent 8643872 commit 68dfb55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataplane/ebpf/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static mut BLIXT_CONNTRACK: HashMap<u32, (u32, u32)> =
// Ingress
// -----------------------------------------------------------------------------

#[classifier(name = "tc_ingress")]
#[classifier]
pub fn tc_ingress(ctx: TcContext) -> i32 {
match try_tc_ingress(ctx) {
Ok(ret) => ret,
Expand Down Expand Up @@ -78,7 +78,7 @@ fn try_tc_ingress(ctx: TcContext) -> Result<i32, i64> {
// Egress
// -----------------------------------------------------------------------------

#[classifier(name = "tc_egress")]
#[classifier]
pub fn tc_egress(ctx: TcContext) -> i32 {
match try_tc_egress(ctx) {
Ok(ret) => ret,
Expand Down

0 comments on commit 68dfb55

Please sign in to comment.