Allow chan_iax2 to build on systems that don't define SO_NO_CHECK (bug #3908, round 2)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-04-01 15:52:26 +00:00
parent 2097977b7d
commit 661770497b

View File

@@ -8251,7 +8251,9 @@ static int set_config(char *config_file, int reload)
v = ast_variable_browse(cfg, "general");
/* Reset Global Flags */
memset(&globalflags, 0, sizeof(globalflags));
#ifdef SO_NO_CHECK
nochecksums = 0;
#endif
while(v) {
if (!strcasecmp(v->name, "bindport")){