Skip to content

Commit

Permalink
RTEXT_FILTER_VF doesn't always work with dump request, fixes vishvana…
Browse files Browse the repository at this point in the history
  • Loading branch information
semicomplete authored and vishvananda committed Jun 23, 2018
1 parent ee06b1d commit 028453c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions link_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -1553,8 +1553,6 @@ func (h *Handle) LinkList() ([]Link, error) {

msg := nl.NewIfInfomsg(unix.AF_UNSPEC)
req.AddData(msg)
attr := nl.NewRtAttr(unix.IFLA_EXT_MASK, nl.Uint32Attr(nl.RTEXT_FILTER_VF))
req.AddData(attr)

msgs, err := req.Execute(unix.NETLINK_ROUTE, unix.RTM_NEWLINK)
if err != nil {
Expand Down

0 comments on commit 028453c

Please sign in to comment.