</option>
<option>
- <p><opt><name replace-wildcards="yes|no"/></opt> The
+ <p><opt><name replace-wildcards="yes|no"></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
</option>
<option>
- <p><opt><service></opt> Contains the service information
- for exactly one service type. Should contain one
- <opt><type></opt> and one <opt><port></opt>
- element. Optionally it may contain one
+ <p><opt><service protocol="ipv4|ipv6|any"></opt>
+ Contains the service information for exactly one service
+ type. Should contain one <opt><type></opt> and one
+ <opt><port></opt> element. Optionally it may contain one
<opt><domain-name></opt>, one
<opt><host-name></opt> and multiple
- <opt><txt-record></opt> elements.</p>
+ <opt><txt-record></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><type></opt> Contains the DNS-SD service type for this service. e.g. "_http._tcp".</p>
</option>
<p><opt><port></opt> The IP port number the service listens on.</p>
</option>
- <option>
- <p><opt><protocol></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><txt-record></opt> DNS-SD TXT record data.</p>
</option>