summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/netdev.c
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@vmware.com>2020-09-16 03:03:30 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-09-17 08:49:36 +0200
commita9b8450bd404482d18f00761d24c7babe69e443e (patch)
treef4da3ff2496436747457660bd83eae0b64759481 /src/network/netdev/netdev.c
parentMerge pull request #17059 from yuwata/network-mdb-follow-ups (diff)
downloadsystemd-a9b8450bd404482d18f00761d24c7babe69e443e.tar.xz
systemd-a9b8450bd404482d18f00761d24c7babe69e443e.zip
network: Allow vxlan to be created without .network file
Diffstat (limited to 'src/network/netdev/netdev.c')
-rw-r--r--src/network/netdev/netdev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/netdev/netdev.c b/src/network/netdev/netdev.c
index 446a580e2c..3e32d83029 100644
--- a/src/network/netdev/netdev.c
+++ b/src/network/netdev/netdev.c
@@ -823,6 +823,9 @@ int netdev_load_one(Manager *manager, const char *filename) {
case NETDEV_KIND_XFRM:
independent = XFRM(netdev)->independent;
break;
+ case NETDEV_KIND_VXLAN:
+ independent = VXLAN(netdev)->independent;
+ break;
default:
break;
}