summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-06-17 19:40:40 +0200
committerTom Gundersen <teg@jklm.no>2014-06-17 23:21:31 +0200
commitee6b50892ea1fec81e10372c1c7c7606f5b2a25d (patch)
tree5b250b9054c892bff88d5265d4e2e1e8054b4f8c
parent5a3f198964dbc6fcf9157f1673689698ae89a3bf (diff)
networkd: vxlan - 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 8879e08999..bf82047dc0 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -653,8 +653,8 @@ static int netdev_load_one(Manager *manager, const char *filename) {
return 0;
}
- if (netdev->kind != NETDEV_KIND_VXLAN && netdev->vlanid <= VXLAN_VID_MAX) {
- log_warning("VLAN Id configured for a %s in %s. Ignoring",
+ if (netdev->kind != NETDEV_KIND_VXLAN && netdev->vxlanid <= VXLAN_VID_MAX) {
+ log_warning("VXLAN Id configured for a %s in %s. Ignoring",
netdev_kind_to_string(netdev->kind), filename);
return 0;
}