LCOV - code coverage report
Current view: top level - network/netdev - nlmon.c (source / functions) Hit Total Coverage
Test: systemd_full.info Lines: 0 7 0.0 %
Date: 2019-08-23 13:36:53 Functions: 0 1 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 8 0.0 %

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: LGPL-2.1+ */
       2                 :            : 
       3                 :            : #include "netdev/nlmon.h"
       4                 :            : 
       5                 :          0 : static int netdev_nlmon_verify(NetDev *netdev, const char *filename) {
       6         [ #  # ]:          0 :         assert(netdev);
       7         [ #  # ]:          0 :         assert(filename);
       8                 :            : 
       9         [ #  # ]:          0 :         if (netdev->mac) {
      10         [ #  # ]:          0 :                 log_netdev_warning(netdev, "%s: MACAddress= is not supported. Ignoring", filename);
      11                 :          0 :                 netdev->mac = mfree(netdev->mac);
      12                 :            :         }
      13                 :            : 
      14                 :          0 :         return 0;
      15                 :            : }
      16                 :            : 
      17                 :            : const NetDevVTable nlmon_vtable = {
      18                 :            :         .object_size = sizeof(NLMon),
      19                 :            :         .sections = "Match\0NetDev\0",
      20                 :            :         .create_type = NETDEV_CREATE_INDEPENDENT,
      21                 :            :         .config_verify = netdev_nlmon_verify,
      22                 :            : };

Generated by: LCOV version 1.14