dhcp: cleanup formatting of LOG_LEASE() macro in lease_to_ip4_config()

and lease_to_ip6_config().

The use of a prefix should be done by LOG_LEASE() macro, instead
of each caller individually.
This commit is contained in:
Thomas Haller
2017-06-14 13:40:07 +02:00
parent 4fd023b617
commit e02f5454fd

View File

@@ -212,7 +212,7 @@ add_requests_to_options (GHashTable *options, const ReqOption *requests)
#define LOG_LEASE(domain, ...) \
G_STMT_START { \
if (log_lease) { \
_LOG2I ((domain), (iface), __VA_ARGS__); \
_LOG2I ((domain), (iface), " "__VA_ARGS__); \
} \
} G_STMT_END