diff options
author | [anp/hsw] <sysop@880.ru> | 2021-03-16 19:34:06 +0700 |
---|---|---|
committer | [anp/hsw] <sysop@880.ru> | 2021-03-16 19:34:06 +0700 |
commit | 2785d81ec848ebb920c8a612b4eae7876a619a18 (patch) | |
tree | d871c149812c68b7ceee591f6bb265f4ad643414 /accel-pppd/net.c | |
parent | a0c08ce019cf88278f882d823f876c6edc2d5218 (diff) | |
download | accel-ppp-2785d81ec848ebb920c8a612b4eae7876a619a18.tar.gz accel-ppp-2785d81ec848ebb920c8a612b4eae7876a619a18.zip |
Move debug print to proper place
Diffstat (limited to 'accel-pppd/net.c')
-rw-r--r-- | accel-pppd/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/net.c b/accel-pppd/net.c index 762841f..809dfaa 100644 --- a/accel-pppd/net.c +++ b/accel-pppd/net.c @@ -285,10 +285,10 @@ static struct ap_net *alloc_net(const char *name) close(ns_fd); return NULL; } + log_debug("open ns %s\n", name); } else def_ns_fd = ns_fd = open("/proc/self/ns/net", O_RDONLY); - log_debug("open ns %s\n", name); #endif n = _malloc(sizeof(*n)); |