mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-04 21:47:16 +03:00
network: belatedly update an error message
The 'open' forward type probably hadn't yet been added when this message was written. Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
114c0ec656
commit
eeebbc1eec
@ -1851,7 +1851,7 @@ virNetworkDefParseXML(xmlXPathContextPtr ctxt,
|
|||||||
case VIR_NETWORK_FORWARD_BRIDGE:
|
case VIR_NETWORK_FORWARD_BRIDGE:
|
||||||
if (def->delay || stp || def->bridgeZone) {
|
if (def->delay || stp || def->bridgeZone) {
|
||||||
virReportError(VIR_ERR_XML_ERROR,
|
virReportError(VIR_ERR_XML_ERROR,
|
||||||
_("bridge delay/stp/zone options only allowed in route, nat, and isolated mode, not in %1$s (network '%2$s')"),
|
_("bridge delay/stp/zone options only allowed in open, route, nat, and isolated mode, not in %1$s (network '%2$s')"),
|
||||||
virNetworkForwardTypeToString(def->forward.type),
|
virNetworkForwardTypeToString(def->forward.type),
|
||||||
def->name);
|
def->name);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user