diff options
author | Tom Gundersen <teg@jklm.no> | 2014-04-07 20:00:53 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-04-08 19:16:30 +0200 |
commit | aa6fc9b8c823834f262ab5ab2ac094a3775370a9 (patch) | |
tree | 7bbb34a924dc87d17957da31feadb6c93939fe43 /src/libsystemd-network/dhcp-internal.h | |
parent | de41590a9bb370de92e4a1ed933bc6e38abb6787 (diff) |
sd-dhcp-client: include client id in debug messages
Diffstat (limited to 'src/libsystemd-network/dhcp-internal.h')
-rw-r--r-- | src/libsystemd-network/dhcp-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp-internal.h b/src/libsystemd-network/dhcp-internal.h index 2188a7f89a..c0cfa83471 100644 --- a/src/libsystemd-network/dhcp-internal.h +++ b/src/libsystemd-network/dhcp-internal.h @@ -56,4 +56,4 @@ void dhcp_packet_append_ip_headers(DHCPPacket *packet, be32_t source_addr, int dhcp_packet_verify_headers(DHCPPacket *packet, size_t len, bool checksum); -#define log_dhcp_client(client, fmt, ...) log_meta(LOG_DEBUG, __FILE__, __LINE__, __func__, "DHCP CLIENT: " fmt, ##__VA_ARGS__) +#define log_dhcp_client(client, fmt, ...) log_meta(LOG_DEBUG, __FILE__, __LINE__, __func__, "DHCP CLIENT (0x%x): " fmt, client->xid, ##__VA_ARGS__) |