Skip to content

Commit

Permalink
network: Merge pull request kata-containers#1502 from amshinde/make-t…
Browse files Browse the repository at this point in the history
…c-default

network: Make tcfilter model as default
(cherry picked from commit edc77a0)

Fixes: kata-containers#1501

Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
  • Loading branch information
amshinde authored and Ganesh Maharaj Mahalingam committed Apr 16, 2019
1 parent de0c06b commit 8d3ba44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ ifneq (,$(QEMUCMD))

# qemu-specific options (all should be suffixed by "_QEMU")
DEFBLOCKSTORAGEDRIVER_QEMU := virtio-scsi
DEFNETWORKMODEL_QEMU := macvtap
DEFNETWORKMODEL_QEMU := tcfilter
KERNELNAME_QEMU = $(call MAKE_KERNEL_NAME,$(KERNELTYPE))
KERNELPATH_QEMU = $(KERNELDIR)/$(KERNELNAME_QEMU)
endif
Expand Down
2 changes: 1 addition & 1 deletion virtcontainers/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (n *NetInterworkingModel) SetModel(modelName string) error {
// DefaultNetInterworkingModel is a package level default
// that determines how the VM should be connected to the
// the container network interface
var DefaultNetInterworkingModel = NetXConnectMacVtapModel
var DefaultNetInterworkingModel = NetXConnectTCFilterModel

// Introduces constants related to networking
const (
Expand Down

0 comments on commit 8d3ba44

Please sign in to comment.