lldp: fix multiple access to argument in logging macro

Fixes: 630de288d2 ('lldp: add libnm-lldp as fork of systemd's sd_lldp_rx')
This commit is contained in:
Thomas Haller
2024-05-31 10:49:50 +02:00
committed by Fernando Fernandez Mancera
parent c2cddd3241
commit 4365de5226

View File

@@ -34,7 +34,7 @@ struct _NMLldpRX {
NMLldpRX *_lldp_rx = (lldp_rx); \
\
if (_NMLOG2_ENABLED(_level)) { \
_nm_log(level, \
_nm_log(_level, \
_NMLOG2_DOMAIN, \
0, \
_lldp_rx->config.log_ifname, \