From: Olle Johansson Date: Mon, 1 Jan 2007 20:14:33 +0000 (+0000) Subject: remove incomplete implementation of dnsmgr. Let's fix this in trunk. X-Git-Tag: 1.4.1~354 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7db2ca152c965633990e2d50fb1bc0fd85fc54b9;p=thirdparty%2Fasterisk.git remove incomplete implementation of dnsmgr. Let's fix this in trunk. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@49096 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 45427b0634..587708514f 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -136,7 +136,6 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include "asterisk/utils.h" #include "asterisk/file.h" #include "asterisk/astobj.h" -#include "asterisk/dnsmgr.h" #include "asterisk/devicestate.h" #include "asterisk/linkedlists.h" #include "asterisk/stringfields.h" @@ -1096,7 +1095,6 @@ struct sip_peer { int rtpkeepalive; /*!< Send RTP packets for keepalive */ ast_group_t callgroup; /*!< Call group */ ast_group_t pickupgroup; /*!< Pickup group */ - struct ast_dnsmgr_entry *dnsmgr;/*!< DNS refresh manager for peer */ struct sockaddr_in addr; /*!< IP address of peer */ int maxcallbitrate; /*!< Maximum Bitrate for a video call */ @@ -2366,8 +2364,6 @@ static void sip_destroy_peer(struct sip_peer *peer) speerobjs--; clear_realm_authentication(peer->auth); peer->auth = NULL; - if (peer->dnsmgr) - ast_dnsmgr_release(peer->dnsmgr); free(peer); }