mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
conf: Add network xmlopt argument
Pass an xmlopt argument through all the needed network conf functions, like is done for domain XML handling. No functional change for now Reviewed-by: Laine Stump <laine@laine.org> Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
@@ -70,7 +70,7 @@ static int testCompareXMLToArgvFiles(const char *xml,
|
||||
|
||||
virCommandSetDryRun(&buf, testCommandDryRun, NULL);
|
||||
|
||||
if (!(def = virNetworkDefParseFile(xml)))
|
||||
if (!(def = virNetworkDefParseFile(xml, NULL)))
|
||||
goto cleanup;
|
||||
|
||||
if (networkAddFirewallRules(def) < 0)
|
||||
|
||||
Reference in New Issue
Block a user