mirror of
https://github.com/systemd/systemd
synced 2026-03-06 05:04:45 +01:00
Compare commits
No commits in common. "8786d4bbe43b5f6493982bcb5211e010f99deb57" and "94d982bb6a1330bfc551cb48a75fe9fed5929661" have entirely different histories.
8786d4bbe4
...
94d982bb6a
@ -41,9 +41,6 @@
|
||||
symlink target name of <filename>/etc/localtime</filename>, this
|
||||
file may not be a normal file or hardlink.</para>
|
||||
|
||||
<para>If <filename>/etc/localtime</filename> is missing, the
|
||||
default <literal>UTC</literal> timezone is used.</para>
|
||||
|
||||
<para>The timezone may be overridden for individual programs by
|
||||
using the <varname>$TZ</varname> environment variable. See
|
||||
<citerefentry project='man-pages'><refentrytitle>environ</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
|
||||
|
||||
@ -1629,16 +1629,9 @@
|
||||
<listitem>
|
||||
<para>Sets a comma-separated list of IP (v4 or v6) addresses with CIDR masks
|
||||
from which this peer is allowed to send incoming traffic and to
|
||||
which outgoing traffic for this peer is directed.</para>
|
||||
<para>The catch-all 0.0.0.0/0 may be specified for matching all IPv4 addresses,
|
||||
and ::/0 may be specified for matching all IPv6 addresses.</para>
|
||||
<para>Note that this only affects "routing inside the network interface itself",
|
||||
as in, which wireguard peer packets with a specific destination address are sent to,
|
||||
and what source addresses are accepted from which peer.</para>
|
||||
<para>To cause packets to be sent via wireguard in first place, a route needs
|
||||
to be added, as well - either in the <literal>[Routes]</literal> section on the
|
||||
<literal>.network</literal> matching the wireguard interface, or outside of networkd.
|
||||
</para>
|
||||
which outgoing traffic for this peer is directed. The catch-all
|
||||
0.0.0.0/0 may be specified for matching all IPv4 addresses, and
|
||||
::/0 may be specified for matching all IPv6 addresses. </para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
||||
@ -334,16 +334,6 @@ int journal_importer_process_data(JournalImporter *imp) {
|
||||
if (r < 0)
|
||||
return r;
|
||||
} else {
|
||||
if (!journal_field_valid(line, n - 1, true)) {
|
||||
char buf[64], *t;
|
||||
|
||||
t = strndupa(line, n - 1);
|
||||
log_debug("Ignoring invalid field: \"%s\"",
|
||||
cellescape(buf, sizeof buf, t));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* replace \n with = */
|
||||
line[n-1] = '=';
|
||||
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user