summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2007-10-15 23:20:40 +0000
committerJason Parker <jparker@digium.com>2007-10-15 23:20:40 +0000
commited690fc3489e97c95344773c178b7e8327a56a08 (patch)
tree54c1bfffaf5270d358da12f64129464467618fc7 /channels
parentaee5666484145d091eee26a0af6f0b073b02f0f9 (diff)
Switch dundi to new tos config format.
Remove old unused defines for old style. Closes issue 10860, patch by IgorG. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_h323.c5
-rw-r--r--channels/chan_iax2.c3
-rw-r--r--channels/chan_mgcp.c4
-rw-r--r--channels/chan_sip.c3
-rw-r--r--channels/iax2-provision.c4
5 files changed, 0 insertions, 19 deletions
diff --git a/channels/chan_h323.c b/channels/chan_h323.c
index 03f05d775..c9b86f0a9 100644
--- a/channels/chan_h323.c
+++ b/channels/chan_h323.c
@@ -54,11 +54,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <sys/socket.h>
#include <sys/signal.h>
#include <sys/param.h>
-#if defined(BSD)
-#ifndef IPTOS_MINCOST
-#define IPTOS_MINCOST 0x02
-#endif
-#endif
#include <arpa/inet.h>
#include <net/if.h>
#include <netinet/in.h>
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index 516ac32a8..7c62f7af7 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -108,9 +108,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
thread is actually doing. */
#define DEBUG_SCHED_MULTITHREAD
-#ifndef IPTOS_MINCOST
-#define IPTOS_MINCOST 0x02
-#endif
#ifdef SO_NO_CHECK
static int nochecksums = 0;
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c
index a509dea7d..a7679ccdd 100644
--- a/channels/chan_mgcp.c
+++ b/channels/chan_mgcp.c
@@ -79,10 +79,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "asterisk/abstract_jb.h"
#include "asterisk/event.h"
-#ifndef IPTOS_MINCOST
-#define IPTOS_MINCOST 0x02
-#endif
-
/*
* Define to work around buggy dlink MGCP phone firmware which
* appears not to know that "rt" is part of the "G" package.
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index e69a696ed..7546f0b2e 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -156,9 +156,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#define XMIT_ERROR -2
#define VIDEO_CODEC_MASK 0x1fc0000 /*!< Video codecs from H.261 thru AST_FORMAT_MAX_VIDEO */
-#ifndef IPTOS_MINCOST
-#define IPTOS_MINCOST 0x02
-#endif
/* #define VOCAL_DATA_HACK */
diff --git a/channels/iax2-provision.c b/channels/iax2-provision.c
index 782a4097e..3fe789ec8 100644
--- a/channels/iax2-provision.c
+++ b/channels/iax2-provision.c
@@ -51,10 +51,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include "iax2-provision.h"
#include "iax2-parser.h"
-#ifndef IPTOS_MINCOST
-#define IPTOS_MINCOST 0x02
-#endif
-
static int provinit = 0;
struct iax_template {