diff options
Diffstat (limited to 'src/network/networkd-lldp-tx.c')
-rw-r--r-- | src/network/networkd-lldp-tx.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/networkd-lldp-tx.c b/src/network/networkd-lldp-tx.c index d547efa768..fc9196fc8b 100644 --- a/src/network/networkd-lldp-tx.c +++ b/src/network/networkd-lldp-tx.c @@ -106,14 +106,13 @@ int config_parse_lldp_multicast_mode( void *data, void *userdata) { - sd_lldp_multicast_mode_t m, *mode = data; + sd_lldp_multicast_mode_t m, *mode = ASSERT_PTR(data); int r; assert(filename); assert(section); assert(lvalue); assert(rvalue); - assert(mode); if (isempty(rvalue)) { *mode = _SD_LLDP_MULTICAST_MODE_INVALID; |