summaryrefslogtreecommitdiff
path: root/net/gnugk/patches/patch-ad
blob: 4eb01574aec8983c77b5a87ce34cdd877869c4c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ad,v 1.1 2007/12/01 15:54:28 rillig Exp $

This code is unused and contains references to undefined classes.

--- RasTbl.h.orig	2004-10-18 12:39:19.000000000 +0000
+++ RasTbl.h	2007-12-01 14:59:50.000000000 +0000
@@ -377,19 +377,6 @@ public:
 	endptr FindByAliases(const H225_ArrayOf_AliasAddress & alias) const;
 	endptr FindEndpoint(const H225_ArrayOf_AliasAddress & alias, bool RoundRobin, bool SearchOuterZone = true);
 
-	template<class MsgType> endptr getMsgDestination(const MsgType & msg, unsigned int & reason,
-	                                                 bool SearchOuterZone = true)
-	{
-	  endptr ep;
-	  bool ok = getGkDestAnalysisList().getMsgDestination(msg, EndpointList, listLock,
-	                                                      ep, reason);
-	  if (!ok && SearchOuterZone) {
-            ok = getGkDestAnalysisList().getMsgDestination(msg, OuterZoneList, listLock,
-	                                                   ep, reason);
-	  }
-	  return (ok) ? ep : endptr(0);
-	}
-
 	void ClearTable();
 	void CheckEndpoints();