summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-06-17 19:42:30 +0200
committerTom Gundersen <teg@jklm.no>2014-06-17 23:21:31 +0200
commit5a1045a55689232443d86783b1423a2b4bdf1683 (patch)
tree440d829e17d6e03f47f94714bd206ba4a2b7829d
parentee6b50892ea1fec81e10372c1c7c7606f5b2a25d (diff)
networkd: veth - fix parsing verification
-rw-r--r--src/network/networkd-netdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index bf82047dc0..016daf38c3 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -692,8 +692,8 @@ static int netdev_load_one(Manager *manager, const char *filename) {
LIST_HEAD_INIT(netdev->callbacks);
if(netdev->kind == NETDEV_KIND_VETH) {
- if (netdev->ifname_peer) {
- log_warning("Veth NetDev without Peer Name configured "
+ if (!netdev->ifname_peer) {
+ log_warning("Veth NetDev without peer name configured "
"in %s. Ignoring", filename);
return 0;
}