dhcp: support _LOGx_ENABLED() macro in dhcp-client
authorThomas Haller <thaller@redhat.com>
Thu, 17 Mar 2016 16:55:25 +0000 (17:55 +0100)
committerThomas Haller <thaller@redhat.com>
Thu, 17 Mar 2016 17:00:53 +0000 (18:00 +0100)
commite3d2fc861b86bbde2bfa3987e3f89a414046219a
treecdc6b2fe1da5d1b226d8d619ddfa19fb56ea2de1
parent84c42aac1b5b59c8c59d9df4a397f45d13abfdbf
dhcp: support _LOGx_ENABLED() macro in dhcp-client

The macro _LOGx_ENABLED() is defined with a default implementation
that depends on _NMLOG_DOMAIN. Although that default does not
check for LOGD_DHCP4 vs. LOGD_DHCP6, still provide it.
Determining the correct domain might involve a larger performance
impact that what we would safe.
src/dhcp-manager/nm-dhcp-client-logging.h