]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/netdev/nlmon.c
network: warn about unknown sections when parsing .netdev files
[thirdparty/systemd.git] / src / network / netdev / nlmon.c
index 3a6179f5037dff79af467dbca66e275be56b81c7..30e49a55abce9e6458ac1be52a23af0074c726dc 100644 (file)
@@ -16,7 +16,7 @@ static int netdev_nlmon_verify(NetDev *netdev, const char *filename) {
 
 const NetDevVTable nlmon_vtable = {
         .object_size = sizeof(NLMon),
-        .sections = "Match\0NetDev\0",
+        .sections = NETDEV_COMMON_SECTIONS,
         .create_type = NETDEV_CREATE_INDEPENDENT,
         .config_verify = netdev_nlmon_verify,
 };