[PATCHv2] Fix format network dns doc

Cédric Bosdonnat cbosdonnat at suse.com
Tue Jan 26 08:50:08 UTC 2021


The code block on the srv name in the formatnetwork page is confusing
since the actual parameter is service. Moving the code block to the
service work makes it better.
---

Diff to v1:
 * remove the word 'name'

 docs/formatnetwork.html.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/formatnetwork.html.in b/docs/formatnetwork.html.in
index f5a48d9b92..b1b2391f43 100644
--- a/docs/formatnetwork.html.in
+++ b/docs/formatnetwork.html.in
@@ -1035,7 +1035,7 @@
           <dd>The <code>dns</code> element can have also 0 or more <code>srv</code>
             record elements. Each <code>srv</code> record element defines a DNS SRV record
             and has 2 mandatory and 5 optional attributes. The mandatory attributes
-            are service <code>name</code> and <code>protocol</code> (tcp, udp)
+            are <code>service</code> and <code>protocol</code> (tcp, udp)
             and the optional attributes are <code>target</code>,
             <code>port</code>, <code>priority</code>, <code>weight</code> and
             <code>domain</code> as defined in DNS server SRV RFC (RFC 2782).
-- 
2.29.2





More information about the libvir-list mailing list