Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Oct 2016 06:32:21 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r307183 - stable/10/usr.sbin/bhyve
Message-ID:  <201610130632.u9D6WLJ4095998@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: np
Date: Thu Oct 13 06:32:21 2016
New Revision: 307183
URL: https://svnweb.freebsd.org/changeset/base/307183

Log:
  bhyve(8): Fix typo from r294294 that prevented bhyve from working with
  vmnet devices.  This is a direct commit to stable/10.

Modified:
  stable/10/usr.sbin/bhyve/pci_virtio_net.c

Modified: stable/10/usr.sbin/bhyve/pci_virtio_net.c
==============================================================================
--- stable/10/usr.sbin/bhyve/pci_virtio_net.c	Thu Oct 13 06:19:54 2016	(r307182)
+++ stable/10/usr.sbin/bhyve/pci_virtio_net.c	Thu Oct 13 06:32:21 2016	(r307183)
@@ -851,7 +851,7 @@ pci_vtnet_init(struct vmctx *ctx, struct
 		if (strncmp(devname, "vale", 4) == 0)
 			pci_vtnet_netmap_setup(sc, devname);
 		if ((strncmp(devname, "tap", 3) == 0) ||
-		    (strncmp(devname, "vmmnet", 5) == 0))
+		    (strncmp(devname, "vmnet", 5) == 0))
 			pci_vtnet_tap_setup(sc, devname);
 
 		free(devname);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610130632.u9D6WLJ4095998>