summaryrefslogtreecommitdiff
path: root/rtp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-04-23 20:22:14 +0000
committerMark Spencer <markster@digium.com>2003-04-23 20:22:14 +0000
commitc4225d255ec4ef13fac5460894a74ff610e608cd (patch)
treeeb00eb0ded541a3c05827d08dbfe8a90db0e702f /rtp.c
parenta71b49f405624dd3b7c32018cbc6a361f2e34b23 (diff)
More OpenBSD changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rtp.c')
-rwxr-xr-xrtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtp.c b/rtp.c
index a1188ce1b..6f628fee8 100755
--- a/rtp.c
+++ b/rtp.c
@@ -575,7 +575,7 @@ struct ast_rtp *ast_rtp_new(struct sched_context *sched, struct io_context *io)
int ast_rtp_settos(struct ast_rtp *rtp, int tos)
{
int res;
- if ((res = setsockopt(rtp->s, SOL_IP, IP_TOS, &tos, sizeof(tos))))
+ if ((res = setsockopt(rtp->s, IPPROTO_IP, IP_TOS, &tos, sizeof(tos))))
ast_log(LOG_WARNING, "Unable to set TOS to %d\n", tos);
return res;
}