]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tools: fix XML validator detection of network port XML schema
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 12 Sep 2019 13:12:02 +0000 (14:12 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 12 Sep 2019 15:06:57 +0000 (16:06 +0100)
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
tools/virt-xml-validate.in

index 5cb7dcd2766056aa1ba29941183cea727fcca839..249bcf7eef26b4bd6db85b967ac8331834cb76ca 100644 (file)
@@ -80,6 +80,9 @@ if [ -z "$TYPE" ]; then
      *domain*)
         TYPE="domain"
         ;;
+     *networkport*)
+        TYPE="networkport"
+        ;;
      *network*)
         TYPE="network"
         ;;