network: update comment and man page

This commit is contained in:
Yu Watanabe 2021-07-13 21:27:51 +09:00
parent 57777c9e61
commit 2b24292692
2 changed files with 7 additions and 7 deletions

View file

@ -2382,12 +2382,12 @@ IPv6Token=prefixstable:2002:da8:1::</programlisting></para>
<varlistentry>
<term><varname>UplinkInterface=</varname></term>
<listitem><para>Specifies name or index of uplink interface, or one of the special values
<literal>:none</literal> and <literal>:auto</literal>. When emitting DNS, NTP, or SIP servers
are enabled but no servers are specified, the servers configured in the uplink interface will
be emitted. When <literal>:auto</literal>, the link which has default gateway with higher
priority will be automatically selected. When <literal>:none</literal>, no uplink interface
will be selected. Defaults to <literal>:auto</literal>.</para></listitem>
<listitem><para>Specifies the name or the index of the uplink interface, or one of the special
values <literal>:none</literal> and <literal>:auto</literal>. When emitting DNS, NTP, or SIP
servers is enabled but no servers are specified, the servers configured in the uplink interface
will be emitted. When <literal>:auto</literal>, the link which has a default gateway with the
highest priority will be automatically selected. When <literal>:none</literal>, no uplink
interface will be selected. Defaults to <literal>:auto</literal>.</para></listitem>
</varlistentry>
<varlistentry>

View file

@ -110,7 +110,7 @@ static void request_hash_func(const Request *req, struct siphash *state) {
trivial_hash_func(req->object, state);
break;
case REQUEST_TYPE_DHCP_SERVER:
/* This type does not have object. */
/* This type does not have an object. */
break;
case REQUEST_TYPE_IPV6_PROXY_NDP:
in6_addr_hash_func(req->ipv6_proxy_ndp, state);