mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-16 23:28:07 +02:00
devices/lldp: log the device context
This commit is contained in:
parent
0f5cf595a0
commit
096ab79070
1 changed files with 3 additions and 1 deletions
|
|
@ -127,7 +127,9 @@ typedef struct {
|
|||
char _sbuf[64]; \
|
||||
int _ifindex = (self) ? NM_LLDP_LISTENER_GET_PRIVATE (self)->ifindex : 0; \
|
||||
\
|
||||
_nm_log (_level, _NMLOG_DOMAIN, 0, NULL, NULL, \
|
||||
_nm_log (_level, _NMLOG_DOMAIN, 0, \
|
||||
nm_platform_link_get_name (NM_PLATFORM_GET, _ifindex), \
|
||||
NULL, \
|
||||
"%s%s: " _NM_UTILS_MACRO_FIRST (__VA_ARGS__), \
|
||||
_NMLOG_PREFIX_NAME, \
|
||||
((_ifindex > 0) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue