Revision
14449
Author
mikej
Date
2009-08-01 00:53:28 -0500 (Sat, 01 Aug 2009)

Log Message

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

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch.c (14448 => 14449)


--- freeswitch/trunk/src/switch.c	2009-08-01 05:35:22 UTC (rev 14448)
+++ freeswitch/trunk/src/switch.c	2009-08-01 05:53:28 UTC (rev 14449)
@@ -278,7 +278,11 @@
 	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;