Skip to content

Commit

Permalink
Adding parent_ifindex to cilium-dbg bpf endpoint list command output
Browse files Browse the repository at this point in the history
Fixes: #37378

Signed-off-by: Mehdi Ben Zinouba <benzinoubamahdi@gmail.com>
  • Loading branch information
mahdi-zben committed Jan 31, 2025
1 parent 25c82e7 commit c513765
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/maps/lxcmap/lxcmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,14 @@ func (v *EndpointInfo) String() string {
return "(localhost)"
}

return fmt.Sprintf("id=%-5d sec_id=%-5d flags=0x%04X ifindex=%-3d mac=%s nodemac=%s",
return fmt.Sprintf("id=%-5d sec_id=%-5d flags=0x%04X ifindex=%-3d mac=%s nodemac=%s parent_ifindex=%-3d",
v.LxcID,
v.SecID,
v.Flags,
v.IfIndex,
v.MAC,
v.NodeMAC,
v.ParentIfIndex,
)
}

Expand Down

0 comments on commit c513765

Please sign in to comment.