diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-22 11:43:26 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-25 16:45:29 +0100 |
commit | 130b812f9d682e8dc8b3b85fd58077b3caf0da8e (patch) | |
tree | 6d2437e6d75c4353fff2a5bc4251989a822d8f07 /src/network/netdev/vxcan.c | |
parent | ddeb3f5d4b7ce67c23fde0ad149fb06b29a92f2a (diff) | |
download | systemd-130b812f9d682e8dc8b3b85fd58077b3caf0da8e.tar.gz |
network: warn about unknown sections when parsing .netdev files
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1774242.
Now we'll emit the warning about unknown section [Netdev], making the issue
much easier to diagnose.
Diffstat (limited to 'src/network/netdev/vxcan.c')
-rw-r--r-- | src/network/netdev/vxcan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/netdev/vxcan.c b/src/network/netdev/vxcan.c index d1c3f091c3..1a5786a0b7 100644 --- a/src/network/netdev/vxcan.c +++ b/src/network/netdev/vxcan.c @@ -65,7 +65,7 @@ static void vxcan_done(NetDev *n) { const NetDevVTable vxcan_vtable = { .object_size = sizeof(VxCan), - .sections = "Match\0NetDev\0VXCAN\0", + .sections = NETDEV_COMMON_SECTIONS "VXCAN\0", .done = vxcan_done, .fill_message_create = netdev_vxcan_fill_message_create, .create_type = NETDEV_CREATE_INDEPENDENT, |