nat pmp causes segfault on solaris, so we won't support upnp or nat pmp on solaris (FSCORE-410)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14449 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-08-01 05:53:28 +00:00
parent b59c4752e5
commit 1d7c292212
1 changed files with 4 additions and 0 deletions

View File

@ -278,7 +278,11 @@ int main(int argc, char *argv[])
int alt_dirs = 0;
int known_opt;
int high_prio = 0;
#ifdef __sun
switch_core_flag_t flags = SCF_USE_SQL;
#else
switch_core_flag_t flags = SCF_USE_SQL | SCF_USE_AUTO_NAT;
#endif
int ret = 0;
switch_status_t destroy_status;
switch_file_t *fd;