summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp6-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-05-17 10:12:30 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-17 10:12:30 +0200
commita45bf10d2939f0261f7dbe7ae5092cc1673ebf66 (patch)
tree6c607505f76d2883f0b658dfbbb7419ae9b03df0 /src/libsystemd-network/dhcp6-internal.h
parent999a43f80ac2edfa3881fcf4c42aa1723945fe10 (diff)
parentbd9a722196f7465d2f3104735b7ca9f62ae9a557 (diff)
Merge pull request #3258 from keszybz/small-networkd-cleanup
Small networkd cleanup
Diffstat (limited to 'src/libsystemd-network/dhcp6-internal.h')
-rw-r--r--src/libsystemd-network/dhcp6-internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp6-internal.h b/src/libsystemd-network/dhcp6-internal.h
index 749086d33a..945c3b9721 100644
--- a/src/libsystemd-network/dhcp6-internal.h
+++ b/src/libsystemd-network/dhcp6-internal.h
@@ -55,7 +55,8 @@ struct DHCP6IA {
typedef struct DHCP6IA DHCP6IA;
-#define log_dhcp6_client(p, fmt, ...) log_internal(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, "DHCPv6 CLIENT: " fmt, ##__VA_ARGS__)
+#define log_dhcp6_client_errno(p, error, fmt, ...) log_internal(LOG_DEBUG, error, __FILE__, __LINE__, __func__, "DHCPv6 CLIENT: " fmt, ##__VA_ARGS__)
+#define log_dhcp6_client(p, fmt, ...) log_dhcp6_client_errno(p, 0, fmt, ##__VA_ARGS__)
int dhcp6_option_append(uint8_t **buf, size_t *buflen, uint16_t code,
size_t optlen, const void *optval);