diff options
| author | Michael Biebl <biebl@debian.org> | 2017-11-10 19:02:08 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2017-11-10 19:02:08 +0100 |
| commit | 417f6015c3dc8c47cf27daa59f64e0e36c521b9c (patch) | |
| tree | 1bec2cd2b25a902a4e2e1ff8cfe39e66a5a97704 /src/dnsmasq | |
| parent | 90e8691111889a7b5f3c812f5a41f15a8a058913 (diff) | |
New upstream version 1.10.0 upstream/1.10.0
Diffstat (limited to 'src/dnsmasq')
| -rw-r--r-- | src/dnsmasq/nm-dnsmasq-manager.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dnsmasq/nm-dnsmasq-manager.c b/src/dnsmasq/nm-dnsmasq-manager.c index 4ac1e7c3..323ef781 100644 --- a/src/dnsmasq/nm-dnsmasq-manager.c +++ b/src/dnsmasq/nm-dnsmasq-manager.c @@ -175,7 +175,8 @@ create_dm_cmd_line (const char *iface, cmd = nm_cmd_line_new (); nm_cmd_line_add_string (cmd, dm_binary); - if (getenv ("NM_DNSMASQ_DEBUG")) { + if ( nm_logging_enabled (LOGL_TRACE, LOGD_SHARING) + || getenv ("NM_DNSMASQ_DEBUG")) { nm_cmd_line_add_string (cmd, "--log-dhcp"); nm_cmd_line_add_string (cmd, "--log-queries"); } |