lldp: fix multiple access to argument in logging macro

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

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, \