]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
nat pmp causes segfault on solaris, so we won't support upnp or nat pmp on solaris...
authorMichael Jerris <mike@jerris.com>
Sat, 1 Aug 2009 05:53:28 +0000 (05:53 +0000)
committerMichael Jerris <mike@jerris.com>
Sat, 1 Aug 2009 05:53:28 +0000 (05:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14449 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch.c

index aa26d892b08808bbacf704cf90ccedb9f09e97e0..25f26ec1bb124d0559d8176add0ee47cd2848437 100644 (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;