From 8ffb1c8ce15ca01ad17ee0a88bc03cc5ccdba162 Mon Sep 17 00:00:00 2001 From: Aleksandr Fedorov Date: Fri, 15 May 2020 11:03:27 +0000 Subject: [PATCH] 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. --- usr.sbin/bhyve/net_backends.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr.sbin/bhyve/net_backends.c b/usr.sbin/bhyve/net_backends.c index acd15f02d5c5..884ffb824111 100644 --- a/usr.sbin/bhyve/net_backends.c +++ b/usr.sbin/bhyve/net_backends.c @@ -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;