Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dataplane/forwarding/fwdport/ports/tap.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func stateFromAttrs(attrs *netlink.LinkAttrs) (fwdpb.PortState, fwdpb.PortState)

var state fwdpb.PortState
switch attrs.OperState {
case netlink.OperDown:
case netlink.OperDown, netlink.OperLowerLayerDown:
state = fwdpb.PortState_PORT_STATE_DISABLED_DOWN
case netlink.OperUp, netlink.OperUnknown: // TAP interface may be unknown state because the dataplane doesn't bind to its fd, so treat unknown as up.
state = fwdpb.PortState_PORT_STATE_ENABLED_UP
Expand Down
Loading