[systemd-commits] 2 commits - man/systemd.network.xml src/network
Tom Gundersen
tomegun at kemper.freedesktop.org
Wed Jul 30 09:36:28 PDT 2014
man/systemd.network.xml | 2 +-
src/network/networkd-link.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6f4d55a8ae04e344a41fc2adef12ad99c2bb2927
Author: Tom Gundersen <teg at jklm.no>
Date: Wed Jul 30 18:16:09 2014 +0200
networkd: improve error message when udev device can not be found
Reported by Raimonds Cicans <ray at apollo.lv>
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index d633399..ec1a97a 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -2146,7 +2146,7 @@ int link_add(Manager *m, sd_rtnl_message *message, Link **ret) {
sprintf(ifindex_str, "n%d", link->ifindex);
device = udev_device_new_from_device_id(m->udev, ifindex_str);
if (!device) {
- log_warning_link(link, "could not find udev device");
+ log_warning_link(link, "could not find udev device: %m");
return -errno;
}
commit b85595b511d3d9f67940f7de0265fb78d672fe81
Author: Hong Shick Pak <hong at hspak.com>
Date: Mon Jul 28 00:10:01 2014 -0400
man: fix outdated example in systemd.network
The docs for the DHCP= was updated, but not the example.
diff --git a/man/systemd.network.xml b/man/systemd.network.xml
index 34eca01..c01bffd 100644
--- a/man/systemd.network.xml
+++ b/man/systemd.network.xml
@@ -491,7 +491,7 @@ Gateway=192.168.0.1</programlisting>
Name=en*
[Network]
-DHCP=yes</programlisting>
+DHCP=both</programlisting>
</example>
<example>
More information about the systemd-commits
mailing list