Skip to content

Commit

Permalink
Revert "linux_defaults: add default rt protocol to use for fib rules …
Browse files Browse the repository at this point in the history
…and routes"

This reverts commit 011bb96.

Signed-off-by: André Martins <andre@cilium.io>
  • Loading branch information
aanm committed Apr 1, 2023
1 parent ed5114d commit 368ec8e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/datapath/linux/linux_defaults/linux_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ package linux_defaults

import (
"time"

"golang.org/x/sys/unix"
)

// Linux specific constants used in Linux datapath
Expand Down Expand Up @@ -66,9 +64,6 @@ const (
// IPSecProtocolID IP protocol ID for IPSec defined in RFC4303
RouteProtocolIPSec = 50

// RTProto is the default protocol we install our fib rules and routes with
RTProto = unix.RTPROT_KERNEL

// RulePriorityWireguard is the priority of the rule used for routing packets to Wireguard device for encryption
RulePriorityWireguard = 1

Expand Down

0 comments on commit 368ec8e

Please sign in to comment.