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:

committed by
Fernando Fernandez Mancera

parent
c2cddd3241
commit
4365de5226
@@ -34,7 +34,7 @@ struct _NMLldpRX {
|
|||||||
NMLldpRX *_lldp_rx = (lldp_rx); \
|
NMLldpRX *_lldp_rx = (lldp_rx); \
|
||||||
\
|
\
|
||||||
if (_NMLOG2_ENABLED(_level)) { \
|
if (_NMLOG2_ENABLED(_level)) { \
|
||||||
_nm_log(level, \
|
_nm_log(_level, \
|
||||||
_NMLOG2_DOMAIN, \
|
_NMLOG2_DOMAIN, \
|
||||||
0, \
|
0, \
|
||||||
_lldp_rx->config.log_ifname, \
|
_lldp_rx->config.log_ifname, \
|
||||||
|
Reference in New Issue
Block a user