devices/lldp: log the device context

This commit is contained in:
Lubomir Rintel 2017-03-02 21:17:22 +01:00
parent 0f5cf595a0
commit 096ab79070

View file

@ -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) \