summaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-22 23:11:22 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-22 23:11:22 +0000
commited06b3a0319dca75edb73310a35b525c7456a035 (patch)
treee89cfdfa5e2a63c1749a1e605223a7b91c215429 /man
parentd2dd8d0d225fd8e4cfc67c8125a38ed22f17ddd3 (diff)
Make protocol an attribute instead of an element. (Sorry Lathiat, but you broke the DTD, and I just fixed this without forcing a specific order of elements.)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@401 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'man')
-rw-r--r--man/avahi.service.5.xml.in21
1 files changed, 10 insertions, 11 deletions
diff --git a/man/avahi.service.5.xml.in b/man/avahi.service.5.xml.in
index 5260ef2..7580d63 100644
--- a/man/avahi.service.5.xml.in
+++ b/man/avahi.service.5.xml.in
@@ -45,7 +45,7 @@
</option>
<option>
- <p><opt>&lt;name replace-wildcards="yes|no"/&gt;</opt> The
+ <p><opt>&lt;name replace-wildcards="yes|no"&gt;</opt> The
service name. If <opt>replace-wildcards</opt> is "yes", any
occurence of the string "%h" will be replaced by the local
host name. This can be used for service names like "Remote
@@ -54,16 +54,19 @@
</option>
<option>
- <p><opt>&lt;service&gt;</opt> Contains the service information
- for exactly one service type. Should contain one
- <opt>&lt;type&gt;</opt> and one <opt>&lt;port&gt;</opt>
- element. Optionally it may contain one
+ <p><opt>&lt;service protocol="ipv4|ipv6|any"&gt;</opt>
+ Contains the service information for exactly one service
+ type. Should contain one <opt>&lt;type&gt;</opt> and one
+ <opt>&lt;port&gt;</opt> element. Optionally it may contain one
<opt>&lt;domain-name&gt;</opt>, one
<opt>&lt;host-name&gt;</opt> and multiple
- <opt>&lt;txt-record&gt;</opt> elements.</p>
+ <opt>&lt;txt-record&gt;</opt> elements. The attribute
+ <opt>protocol</opt> specifies the protocol to
+ advertise the service on. If <opt>any</opt> is used (which is
+ the default), the service will be advertised on both IPv4 and
+ IPv6.</p>
</option>
-
<option>
<p><opt>&lt;type&gt;</opt> Contains the DNS-SD service type for this service. e.g. "_http._tcp".</p>
</option>
@@ -88,10 +91,6 @@
</option>
<option>
- <p><opt>&lt;protocol&gt;</opt> The protocol to advertise the service on, can be any of <opt>ipv4</opt>, <opt>ipv6</opt> or <opt>any</opt>.</p>
- </option>
-
- <option>
<p><opt>&lt;txt-record&gt;</opt> DNS-SD TXT record data.</p>
</option>