svn commit: r307183 - stable/10/usr.sbin/bhyve

Navdeep Parhar np at FreeBSD.org
Thu Oct 13 06:32:22 UTC 2016


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);


More information about the svn-src-all mailing list