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 /rtp.c | |
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 'rtp.c')
-rwxr-xr-x | rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |