NAT refresh in own thread

This commit is contained in:
Rupa Schomaker 2010-09-13 12:12:04 -05:00
parent 403bf6af1c
commit a53933eddb
1 changed files with 1 additions and 1 deletions

View File

@ -690,7 +690,7 @@ SWITCH_DECLARE(void) switch_nat_late_init(void)
{ {
if (nat_globals_perm.running == 1) { if (nat_globals_perm.running == 1) {
switch_scheduler_add_task(switch_epoch_time_now(NULL) + NAT_REFRESH_INTERVAL, switch_nat_republish_sched, "nat_republish", "core", 0, NULL, switch_scheduler_add_task(switch_epoch_time_now(NULL) + NAT_REFRESH_INTERVAL, switch_nat_republish_sched, "nat_republish", "core", 0, NULL,
SSHF_NONE); SSHF_OWN_THREAD);
} }
} }