diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-23 20:22:14 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-04-23 20:22:14 +0000 |
commit | 51be9a03a601f4b64b883d5c97966041095517b0 (patch) | |
tree | eb00eb0ded541a3c05827d08dbfe8a90db0e702f /channels | |
parent | c8ceb9c9c5712a970aa70192c7800fc9e1e39aed (diff) |
More OpenBSD changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@891 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rwxr-xr-x | channels/chan_iax.c | 2 | ||||
-rwxr-xr-x | channels/chan_iax2.c | 2 | ||||
-rwxr-xr-x | channels/chan_sip.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_iax.c b/channels/chan_iax.c index 426bc580b..f185ce719 100755 --- a/channels/chan_iax.c +++ b/channels/chan_iax.c @@ -5134,7 +5134,7 @@ int load_module(void) if (option_verbose > 1) ast_verbose(VERBOSE_PREFIX_2 "Using TOS bits %d\n", tos); - if (setsockopt(netsocket, SOL_IP, IP_TOS, &tos, sizeof(tos))) + if (setsockopt(netsocket, IPPROTO_IP, IP_TOS, &tos, sizeof(tos))) ast_log(LOG_WARNING, "Unable to set TOS to %d\n", tos); if (!res) { diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 6310f58c9..1aaf2880a 100755 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -5479,7 +5479,7 @@ int load_module(void) if (option_verbose > 1) ast_verbose(VERBOSE_PREFIX_2 "Using TOS bits %d\n", tos); - if (setsockopt(netsocket, SOL_IP, IP_TOS, &tos, sizeof(tos))) + if (setsockopt(netsocket, IPPROTO_IP, IP_TOS, &tos, sizeof(tos))) ast_log(LOG_WARNING, "Unable to set TOS to %d\n", tos); if (!res) { diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 954768b2d..9758bead2 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5258,7 +5258,7 @@ static int reload_config(void) if (option_verbose > 1) ast_verbose(VERBOSE_PREFIX_2 "Using TOS bits %d\n", tos); - if (setsockopt(sipsock, SOL_IP, IP_TOS, &tos, sizeof(tos))) + if (setsockopt(sipsock, IPPROTO_IP, IP_TOS, &tos, sizeof(tos))) ast_log(LOG_WARNING, "Unable to set TOS to %d\n", tos); } |