]> xenbits.xensource.com Git - libvirt.git/commitdiff
network: belatedly update an error message
authorLaine Stump <laine@redhat.com>
Tue, 3 Sep 2024 00:51:06 +0000 (20:51 -0400)
committerLaine Stump <laine@redhat.com>
Tue, 17 Sep 2024 14:55:14 +0000 (10:55 -0400)
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>
src/conf/network_conf.c

index 320e1b089a4942b258565dbf15b16f3d477a5677..316a84502dd4bf99ce2df79e4f43ed9b5ae0566a 100644 (file)
@@ -1851,7 +1851,7 @@ virNetworkDefParseXML(xmlXPathContextPtr ctxt,
     case VIR_NETWORK_FORWARD_BRIDGE:
         if (def->delay || stp || def->bridgeZone) {
             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),
                            def->name);
             return NULL;