Skip to content

Commit 6118c19

Browse files
authored
Add device to ToTc() (#192)
Signed-off-by: FingerLeader <[email protected]>
1 parent e2b71ee commit 6118c19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/core/network.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -434,6 +434,7 @@ func (n *NetworkCommand) ToTC(ipset string) (*pb.Tc, error) {
434434
Protocol: n.IPProtocol,
435435
SourcePort: n.SourcePort,
436436
EgressPort: n.EgressPort,
437+
Device: n.Device,
437438
}
438439

439440
var (

0 commit comments

Comments
 (0)