summaryrefslogtreecommitdiff
path: root/src/nwfilter/nwfilter_dhcpsnoop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nwfilter/nwfilter_dhcpsnoop.c')
-rw-r--r--src/nwfilter/nwfilter_dhcpsnoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nwfilter/nwfilter_dhcpsnoop.c b/src/nwfilter/nwfilter_dhcpsnoop.c
index 90f3933959..2c7a1a1522 100644
--- a/src/nwfilter/nwfilter_dhcpsnoop.c
+++ b/src/nwfilter/nwfilter_dhcpsnoop.c
@@ -1395,7 +1395,7 @@ virNWFilterDHCPSnoopThread(void *req0)
fds[i].fd = pcap_fileno(pcapConf[i].handle);
}
tmp = virNetDevGetIndex(req->binding->portdevname, &ifindex);
- ignore_value(VIR_STRDUP(threadkey, req->threadkey));
+ threadkey = g_strdup(req->threadkey);
worker = virThreadPoolNew(1, 1, 0,
virNWFilterDHCPDecodeWorker,
req);