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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to