mirror of
https://github.com/vishvananda/netlink
synced 2025-03-25 04:26:51 +00:00
Revert "RTEXT_FILTER_VF doesn't always work with dump request, fixes #354"
This reverts commit 028453c77c
.
This commit is contained in:
parent
028453c77c
commit
3e48e44812
@ -1553,6 +1553,8 @@ 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user