svn commit: r361072 - head/usr.sbin/bhyve
Aleksandr Fedorov
afedorov at FreeBSD.org
Fri May 15 11:03:28 UTC 2020
Author: afedorov
Date: Fri May 15 11:03:27 2020
New Revision: 361072
URL: https://svnweb.freebsd.org/changeset/base/361072
Log:
bhyve: Fix processing of netgraph backend options.
After r360820, additional parameters are passed through the argument 'opts', and the name of the backend through the argument 'devname'. So, there is no need to skip the backend name from the 'opts' argument.
Modified:
head/usr.sbin/bhyve/net_backends.c
Modified: head/usr.sbin/bhyve/net_backends.c
==============================================================================
--- head/usr.sbin/bhyve/net_backends.c Fri May 15 03:54:25 2020 (r361071)
+++ head/usr.sbin/bhyve/net_backends.c Fri May 15 11:03:27 2020 (r361072)
@@ -438,8 +438,6 @@ ng_init(struct net_backend *be, const char *devname,
path_provided = 0;
peerhook_provided = 0;
- (void)strsep(&ngopts, ",");
-
while (ngopts != NULL) {
char *value = ngopts;
char *key;
More information about the svn-src-all
mailing list