nat: Allocate a named context to make dumping allocations possible
This is fixing the SIGUSR1 to really report the allocated memory on stderr.
This commit is contained in:
parent
4c683d1215
commit
a1597f1b29
|
@ -818,6 +818,8 @@ static void signal_handler(int signal)
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
tall_bsc_ctx = talloc_named_const(NULL, 1, "nat");
|
||||
|
||||
log_init(&log_info);
|
||||
stderr_target = log_target_create_stderr();
|
||||
log_add_target(stderr_target);
|
||||
|
|
Loading…
Reference in New Issue