diff options
-rw-r--r-- | src/devices/nm-lldp-listener.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/nm-lldp-listener.c b/src/devices/nm-lldp-listener.c index 8c1a6ffa56..ccac2f04b7 100644 --- a/src/devices/nm-lldp-listener.c +++ b/src/devices/nm-lldp-listener.c @@ -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) \ |