VENDOR: Avoid building netlink/filter and correct some invalid function references

# github.com/docker/docker/vendor/github.com/vishvananda/netlink
  .gopath/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/filter.go:189: undefined: nl.TC_U32_TERMINAL
  .gopath/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/filter.go:190: undefined: nl.TC_U32_OFFSET
  .gopath/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/filter.go:191: undefined: nl.TC_U32_VAROFFSET
  .gopath/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/filter.go:192: undefined: nl.TC_U32_EAT

  # github.com/docker/docker/vendor/github.com/vishvananda/netlink
  .gopath/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/handle_unspecified.go:184: undefined: Filter
  .gopath/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/handle_unspecified.go:188: undefined: Filter
  .gopath/src/github.com/docker/docker/vendor/github.com/vishvananda/netlink/handle_unspecified.go:192: undefined: Filter

Signed-off-by: R Tyler Croy <tyler@monkeypox.org>
This commit is contained in:
R Tyler Croy 2017-08-15 09:02:08 +08:00
parent b193b2ac81
commit 43556eb98d
2 changed files with 2 additions and 12 deletions

View File

@ -1,3 +1,5 @@
// +build linux
package netlink
import (

View File

@ -181,18 +181,6 @@ func (h *Handle) ClassList(link Link, parent uint32) ([]Class, error) {
return nil, ErrNotImplemented
}
func (h *Handle) FilterDel(filter Filter) error {
return ErrNotImplemented
}
func (h *Handle) FilterAdd(filter Filter) error {
return ErrNotImplemented
}
func (h *Handle) FilterList(link Link, parent uint32) ([]Filter, error) {
return nil, ErrNotImplemented
}
func (h *Handle) NeighAdd(neigh *Neigh) error {
return ErrNotImplemented
}