summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2012-11-12 14:07:20 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-11-23 12:58:50 +0200
commita426464354273a5586612b6577288e3662e3f8ac (patch)
tree20a308ed2a8807413acd9c6ddf70ffe2ef092894 /unit
parent8c12ec683a443b72c600751e3496a790bade6981 (diff)
downloadconnman-a426464354273a5586612b6577288e3662e3f8ac.tar.gz
connman-a426464354273a5586612b6577288e3662e3f8ac.tar.bz2
connman-a426464354273a5586612b6577288e3662e3f8ac.zip
log: Give program name and version in log init
This allows the correct output when the log functions are used from separate vpn daemon.
Diffstat (limited to 'unit')
-rw-r--r--unit/test-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/test-nat.c b/unit/test-nat.c
index 4a48461d..df8a2b59 100644
--- a/unit/test-nat.c
+++ b/unit/test-nat.c
@@ -147,7 +147,7 @@ int main(int argc, char *argv[])
g_test_init(&argc, &argv, NULL);
- __connman_log_init(argv[0], "*", FALSE, TRUE);
+ __connman_log_init(argv[0], "*", FALSE, TRUE, "test-nat", VERSION);
__connman_iptables_init();
__connman_nat_init();