Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-voip/gnugk/files: gnugk-3.2.2-h323plus-buildopts.patch gnugk-3.2.2-lua.cxx-toolkit_h.patch gnugk-3.2.2-ptrace.patch
Date: Wed, 06 Mar 2013 02:09:44
Message-Id: 20130306020940.E5B772171F@flycatcher.gentoo.org
1 chithanh 13/03/06 02:09:40
2
3 Added: gnugk-3.2.2-h323plus-buildopts.patch
4 gnugk-3.2.2-lua.cxx-toolkit_h.patch
5 gnugk-3.2.2-ptrace.patch
6 Log:
7 Version bump. Fixes bug #290067 and security bug #432756.
8
9 (Portage version: 2.1.11.50/cvs/Linux x86_64, unsigned Manifest commit)
10
11 Revision Changes Path
12 1.1 net-voip/gnugk/files/gnugk-3.2.2-h323plus-buildopts.patch
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/files/gnugk-3.2.2-h323plus-buildopts.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/files/gnugk-3.2.2-h323plus-buildopts.patch?rev=1.1&content-type=text/plain
16
17 Index: gnugk-3.2.2-h323plus-buildopts.patch
18 ===================================================================
19 diff -ur a/configure.in b/configure.in
20 --- a/configure.in 2013-01-14 23:56:02.000000000 +0100
21 +++ b/configure.in 2013-03-05 21:24:02.639204755 +0100
22 @@ -203,16 +203,16 @@
23 AC_CHECK_FILE(${OPENH323MAKEDIR}/openh323buildopts.h, HAS_OPENH323_VERSIONFILE=1)
24 if test "${HAS_OPENH323_VERSIONFILE:-unset}" != "unset"; then
25 OPENH323_VERSION_FILE=${OPENH323MAKEDIR}/openh323buildopts.h
26 - OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MAJOR | cut -f3 -d' '`
27 - OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MINOR | cut -f3 -d' '`
28 - OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_BUILD | cut -f3 -d' '`
29 + OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep -m1 OPENH323_MAJOR | cut -f3 -d' '`
30 + OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep -m1 OPENH323_MINOR | cut -f3 -d' '`
31 + OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep -m1 OPENH323_BUILD | cut -f3 -d' '`
32 else
33 AC_CHECK_FILE(${OPENH323MAKEDIR}/../../include/openh323/openh323buildopts.h, HAS_OPENH323_VERSIONFILE=1)
34 if test "${HAS_OPENH323_VERSIONFILE:-unset}" != "unset"; then
35 OPENH323_VERSION_FILE=${OPENH323MAKEDIR}/../../include/openh323/openh323buildopts.h
36 - OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MAJOR | cut -f2 -d' '`
37 - OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep OPENH323_MINOR | cut -f2 -d' '`
38 - OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep "OPENH323_BUILD " | cut -f2 -d' '`
39 + OPENH323_MAJOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep -m1 OPENH323_MAJOR | cut -f3 -d' '`
40 + OPENH323_MINOR_VERSION=`cat ${OPENH323_VERSION_FILE} | grep -m1 OPENH323_MINOR | cut -f3 -d' '`
41 + OPENH323_BUILD_NUMBER=`cat ${OPENH323_VERSION_FILE} | grep -m1 "OPENH323_BUILD " | cut -f3 -d' '`
42 fi
43 fi
44 fi
45 @@ -269,7 +269,7 @@
46 [ h46017="${enableval}" ], [h46017="yes"]
47 )
48
49 -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'`
50 +H460SUPPORT=`cat ${OPENH323DIR}/include/{,openh323/}openh323buildopts.h | grep 'define H323_H460'`
51 if test "${H460SUPPORT:-unset}" = "unset" ; then
52 if test "x${h46017}" != "xno" ; then
53 AC_MSG_RESULT(No H.460 support available)
54 @@ -301,7 +301,7 @@
55 [ h46018="${enableval}" ], [h46018="no"]
56 )
57
58 -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'`
59 +H460SUPPORT=`cat ${OPENH323DIR}/include/{,openh323/}openh323buildopts.h | grep 'define H323_H460'`
60 if test "${H460SUPPORT:-unset}" = "unset" ; then
61 if test "x${h46018}" != "xno" ; then
62 AC_MSG_RESULT(No H.460 support available)
63 @@ -332,7 +332,7 @@
64 [ h46023="${enableval}" ], [h46023="yes"]
65 )
66
67 -H460SUPPORT=`cat ${OPENH323DIR}/include/openh323buildopts.h | grep 'define H323_H460'`
68 +H460SUPPORT=`cat ${OPENH323DIR}/include/{,openh323/}openh323buildopts.h | grep 'define H323_H460'`
69 if test "${H460SUPPORT:-unset}" = "unset" ; then
70 if test "x${h46023}" != "xno" ; then
71 AC_MSG_RESULT(No H.460 support available)
72
73
74
75 1.1 net-voip/gnugk/files/gnugk-3.2.2-lua.cxx-toolkit_h.patch
76
77 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/files/gnugk-3.2.2-lua.cxx-toolkit_h.patch?rev=1.1&view=markup
78 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/files/gnugk-3.2.2-lua.cxx-toolkit_h.patch?rev=1.1&content-type=text/plain
79
80 Index: gnugk-3.2.2-lua.cxx-toolkit_h.patch
81 ===================================================================
82 diff -ur a/lua.cxx b/lua.cxx
83 --- a/lua.cxx 2012-12-28 21:35:42.000000000 +0100
84 +++ b/lua.cxx 2013-03-05 22:08:21.823141158 +0100
85 @@ -20,6 +20,7 @@
86 #include "Routing.h"
87 #include "gk_const.h"
88 #include "snmp.h"
89 +#include "Toolkit.h"
90
91 #include <lua.hpp>
92
93
94
95
96 1.1 net-voip/gnugk/files/gnugk-3.2.2-ptrace.patch
97
98 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/files/gnugk-3.2.2-ptrace.patch?rev=1.1&view=markup
99 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/files/gnugk-3.2.2-ptrace.patch?rev=1.1&content-type=text/plain
100
101 Index: gnugk-3.2.2-ptrace.patch
102 ===================================================================
103 diff -ur a/capctrl.cxx b/capctrl.cxx
104 --- a/capctrl.cxx 2011-11-28 13:33:41.000000000 +0100
105 +++ b/capctrl.cxx 2013-03-06 02:53:41.038731734 +0100
106 @@ -255,6 +255,7 @@
107 m_cliCallVolumes = cliCallVolumes;
108
109 PTRACE(5, "CAPCTRL\t" << ipRules << " IP rules loaded");
110 +#if PTRACING
111 if (PTrace::CanTrace(6)) {
112 ostream &strm = PTrace::Begin(6, __FILE__, __LINE__);
113 strm << "Per IP call volume rules:" << endl;
114 @@ -264,8 +265,10 @@
115 }
116 PTrace::End(strm);
117 }
118 +#endif
119
120 PTRACE(5, "CAPCTRL\t" << h323IdRules << " H.323 ID rules loaded");
121 +#if PTRACING
122 if (PTrace::CanTrace(6)) {
123 ostream &strm = PTrace::Begin(6, __FILE__, __LINE__);
124 strm << "Per H.323 ID call volume rules:" << endl;
125 @@ -275,8 +278,10 @@
126 }
127 PTrace::End(strm);
128 }
129 +#endif
130
131 PTRACE(5, "CAPCTRL\t" << cliRules << " CLI rules loaded");
132 +#if PTRACING
133 if (PTrace::CanTrace(6)) {
134 ostream &strm = PTrace::Begin(6, __FILE__, __LINE__);
135 strm << "Per CLI call volume rules:" << endl;
136 @@ -286,6 +291,7 @@
137 }
138 PTrace::End(strm);
139 }
140 +#endif
141 }
142
143 PString CapacityControl::PrintRules()
144 diff -ur a/clirw.cxx b/clirw.cxx
145 --- a/clirw.cxx 2012-05-07 16:18:04.000000000 +0200
146 +++ b/clirw.cxx 2013-03-06 02:53:41.038731734 +0100
147 @@ -456,6 +456,7 @@
148 }
149
150 PTRACE(5, "CLIRW\t" << inboundRules << " inbound rules loaded");
151 +#if PTRACING
152 if (PTrace::CanTrace(6)) {
153 ostream &strm = PTrace::Begin(6, __FILE__, __LINE__);
154 strm << "Inbound CLI rewrite rules:" << endl;
155 @@ -466,8 +467,10 @@
156 }
157 PTrace::End(strm);
158 }
159 +#endif
160
161 PTRACE(5, "CLIRW\t" << outboundRules << " outbound rules loaded");
162 +#if PTRACING
163 if (PTrace::CanTrace(6)) {
164 ostream &strm = PTrace::Begin(6, __FILE__, __LINE__);
165 strm << "Outbound CLI rewrite rules:" << endl;
166 @@ -480,6 +483,7 @@
167 }
168 PTrace::End(strm);
169 }
170 +#endif
171
172 m_processSourceAddress = Toolkit::AsBool(
173 cfg->GetString(CLIRewriteSection, ProcessSourceAddress, "1")
174 diff -ur a/gkacct.cxx b/gkacct.cxx
175 --- a/gkacct.cxx 2012-12-10 20:32:52.000000000 +0100
176 +++ b/gkacct.cxx 2013-03-06 02:53:41.038731734 +0100
177 @@ -919,6 +919,7 @@
178 switch (status)
179 {
180 case GkAcctLogger::Ok:
181 +#if PTRACING
182 if (PTrace::CanTrace(3)) {
183 ostream& strm = PTrace::Begin(3,__FILE__,__LINE__);
184 strm << "GKACCT\t" << logger->GetName() << " logged event " << evt;
185 @@ -926,9 +927,11 @@
186 strm << " for call no. " << call->GetCallNumber();
187 PTrace::End(strm);
188 }
189 +#endif
190 break;
191
192 default:
193 +#if PTRACING
194 if (PTrace::CanTrace(3)) {
195 ostream& strm = PTrace::Begin(3, __FILE__, __LINE__);
196 strm << "GKACCT\t" << logger->GetName() << " failed to log event " << evt;
197 @@ -937,6 +940,7 @@
198 strm << " for call no. " << call->GetCallNumber();
199 PTrace::End(strm);
200 }
201 +#endif
202 // required and sufficient rules always determine
203 // status of the request
204 if (logger->GetControlFlag() == GkAcctLogger::Required
205 @@ -954,7 +958,8 @@
206 // a last rule determine status of the the request
207 if (finalResult && status != GkAcctLogger::Ok)
208 finalResult = false;
209 -
210 +
211 +#if PTRACING
212 if (PTrace::CanTrace(2)) {
213 ostream& strm = PTrace::Begin(2, __FILE__, __LINE__);
214 strm << "GKACCT\t" << (finalResult ? "Successfully logged event "
215 @@ -965,6 +970,7 @@
216 if (!finalResult)
217 SNMP_TRAP(7, SNMPError, Accounting, "Failed to log event " + evt);
218 }
219 +#endif
220 return finalResult;
221 }
222
223 @@ -987,6 +993,7 @@
224 switch (status)
225 {
226 case GkAcctLogger::Ok:
227 +#if PTRACING
228 if (PTrace::CanTrace(3)) {
229 ostream& strm = PTrace::Begin(3,__FILE__,__LINE__);
230 strm << "GKACCT\t" << logger->GetName() << " logged event " << evt;
231 @@ -994,9 +1001,11 @@
232 strm << " for endpoint " << ep->GetEndpointIdentifier().GetValue();
233 PTrace::End(strm);
234 }
235 +#endif
236 break;
237
238 default:
239 +#if PTRACING
240 if (PTrace::CanTrace(3)) {
241 ostream& strm = PTrace::Begin(3, __FILE__, __LINE__);
242 strm << "GKACCT\t" << logger->GetName() << " failed to log event " << evt;
243 @@ -1005,6 +1014,7 @@
244 PTrace::End(strm);
245 SNMP_TRAP(7, SNMPError, Accounting, logger->GetName() + " failed to log event " + PString(evt));
246 }
247 +#endif
248 // required and sufficient rules always determine
249 // status of the request
250 if (logger->GetControlFlag() == GkAcctLogger::Required
251 @@ -1023,6 +1033,7 @@
252 if (finalResult && status != GkAcctLogger::Ok)
253 finalResult = false;
254
255 +#if PTRACING
256 if (PTrace::CanTrace(2)) {
257 ostream& strm = PTrace::Begin(2, __FILE__, __LINE__);
258 strm << "GKACCT\t" << (finalResult ? "Successfully logged event "
259 @@ -1033,6 +1044,7 @@
260 if (!finalResult)
261 SNMP_TRAP(7, SNMPError, Accounting, "Failed to log event " + evt);
262 }
263 +#endif
264 return finalResult;
265 }
266
267 diff -ur a/gkauth.cxx b/gkauth.cxx
268 --- a/gkauth.cxx 2012-12-03 10:29:52.000000000 +0100
269 +++ b/gkauth.cxx 2013-03-06 02:53:38.494731795 +0100
270 @@ -834,6 +834,7 @@
271 }
272
273 if (mechanisms.GetSize() > 0 && algorithmOIDs.GetSize() > 0) {
274 +#if PTRACING
275 if (PTrace::CanTrace(4)) {
276 ostream& strm = PTrace::Begin(4,__FILE__,__LINE__);
277 strm <<"GkAuth\tH.235 capabilities selected for GCF:\n";
278 @@ -845,6 +846,7 @@
279 strm << "\t\t" << algorithmOIDs[i] << '\n';
280 PTrace::End(strm);
281 }
282 +#endif
283 #ifdef OpenH323Factory
284 }
285 #else
286 diff -ur a/gk.cxx b/gk.cxx
287 --- a/gk.cxx 2013-01-04 13:20:20.000000000 +0100
288 +++ b/gk.cxx 2013-03-06 02:53:38.494731795 +0100
289 @@ -1076,9 +1076,11 @@
290 bool Gatekeeper::InitLogging(const PArgList & args)
291 {
292 // Syslog is the default when compiled as service, but we don't want that
293 +#if PTRACING
294 PTrace::ClearOptions(PTrace::SystemLogStream);
295 PTrace::SetOptions(PTrace::DateAndTime | PTrace::TraceLevel | PTrace::FileAndLine);
296 PTrace::SetLevel(args.GetOptionCount('t'));
297 +#endif
298 if (args.HasOption('o')) {
299 if (!SetLogFilename(args.GetOptionString('o'))) {
300 cerr << "Warning: could not open the log file \""
301 @@ -1563,7 +1565,9 @@
302 EnableLogFileRotation(false);
303 }
304
305 +#if PTRACING
306 PTrace::SetStream(&cerr);
307 +#endif
308
309 #ifndef hasDeletingSetStream
310 delete m_logFile;
311 @@ -1578,7 +1582,9 @@
312 return false;
313 }
314 m_logFile->SetPosition(0, PFile::End);
315 +#if PTRACING
316 PTrace::SetStream(m_logFile);
317 +#endif
318 return true;
319 }
320
321 @@ -1588,7 +1594,9 @@
322
323 if (m_logFile) {
324 PTRACEX(1, "GK\tLogging closed (log file rotation)");
325 +#if PTRACING
326 PTrace::SetStream(&cerr); // redirect to cerr
327 +#endif
328 #ifndef hasDeletingSetStream
329 delete m_logFile;
330 #endif
331 @@ -1625,7 +1633,9 @@
332 }
333
334 m_logFile->SetPosition(0, PFile::End);
335 +#if PTRACING
336 PTrace::SetStream(m_logFile);
337 +#endif
338 PTRACEX(1, "GK\tLogging restarted\n" + Toolkit::GKVersion());
339 return true;
340 }
341 @@ -1636,7 +1646,9 @@
342
343 if (m_logFile) {
344 PTRACEX(1, "GK\tLogging closed (reopen log file)");
345 +#if PTRACING
346 PTrace::SetStream(&cerr); // redirect to cerr
347 +#endif
348 #ifndef hasDeletingSetStream
349 delete m_logFile;
350 #endif
351 @@ -1665,7 +1677,9 @@
352 }
353 }
354 m_logFile->SetPosition(0, PFile::End);
355 +#if PTRACING
356 PTrace::SetStream(m_logFile);
357 +#endif
358 PTRACEX(1, "GK\tLogging restarted\n" + Toolkit::GKVersion());
359 return true;
360 }
361 @@ -1677,7 +1691,9 @@
362 if (m_logFile) {
363 PTRACEX(1, "GK\tLogging closed");
364 }
365 +#if PTRACING
366 PTrace::SetStream(&cerr);
367 +#endif
368 #ifndef hasDeletingSetStream
369 delete m_logFile;
370 #endif
371 diff -ur a/GkStatus.cxx b/GkStatus.cxx
372 --- a/GkStatus.cxx 2012-12-18 16:16:18.000000000 +0100
373 +++ b/GkStatus.cxx 2013-03-06 02:53:38.494731795 +0100
374 @@ -1314,6 +1314,7 @@
375 );
376 } else {
377 if (args[1] *= "trc") {
378 +#if PTRACING
379 if(args.GetSize() >= 3) {
380 if((args[2] == "-") && (PTrace::GetLevel() > 0))
381 PTrace::SetLevel(PTrace::GetLevel()-1);
382 @@ -1322,6 +1323,7 @@
383 else PTrace::SetLevel(args[2].AsInteger());
384 }
385 WriteString(PString(PString::Printf, "Trace Level is now %d\r\n", PTrace::GetLevel()));
386 +#endif
387 } else if (args[1] *= "cfg") {
388 if (args.GetSize()>=4)
389 WriteString(GkConfig()->GetString(args[2],args[3],"") + "\r\n;\r\n");
390 diff -ur a/ipauth.cxx b/ipauth.cxx
391 --- a/ipauth.cxx 2011-11-28 13:33:41.000000000 +0100
392 +++ b/ipauth.cxx 2013-03-06 02:53:41.038731734 +0100
393 @@ -226,6 +226,7 @@
394
395 PTRACE(5, GetName() << "\t" << m_authList.size() << " entries loaded");
396
397 +#if PTRACING
398 if (PTrace::CanTrace(6)) {
399 ostream &strm = PTrace::Begin(6, __FILE__, __LINE__);
400 strm << GetName() << " entries:\n";
401 @@ -238,6 +239,7 @@
402 }
403 PTrace::End(strm);
404 }
405 +#endif
406
407 if (dynamicCfg) {
408 delete cfg;
409 diff -ur a/RasSrv.cxx b/RasSrv.cxx
410 --- a/RasSrv.cxx 2012-12-28 16:21:55.000000000 +0100
411 +++ b/RasSrv.cxx 2013-03-06 02:53:38.494731795 +0100
412 @@ -244,6 +244,7 @@
413 delete msg;
414 return NULL;
415 }
416 +#if PTRACING
417 if ((msg->GetTag() != H225_RasMessage::e_serviceControlIndication && msg->GetTag() != H225_RasMessage::e_serviceControlResponse)
418 || PTrace::CanTrace(5)) {
419 if (PTrace::CanTrace(3))
420 @@ -251,17 +252,20 @@
421 else
422 PTRACE(2, "RAS\tReceived " << msg->GetTagName() << " from " << AsString(msg->m_peerAddr, msg->m_peerPort));
423 }
424 +#endif
425 msg->m_localAddr = GetLocalAddr(msg->m_peerAddr);
426 return msg;
427 }
428
429 bool RasListener::SendRas(const H225_RasMessage & rasobj, const Address & addr, WORD pt)
430 {
431 +#if PTRACING
432 if ( ((rasobj.GetTag() != H225_RasMessage::e_serviceControlIndication && rasobj.GetTag() != H225_RasMessage::e_serviceControlResponse) && PTrace::CanTrace(3))
433 || PTrace::CanTrace(5))
434 PTRACE(3, "RAS\tSend to " << AsString(addr, pt) << '\n' << setprecision(2) << rasobj);
435 else
436 PTRACE(2, "RAS\tSend " << RasName[rasobj.GetTag()] << " to " << AsString(addr, pt));
437 +#endif
438
439 PPER_Stream wtstrm;
440 rasobj.Encode(wtstrm);
441 diff -ur a/RasTbl.cxx b/RasTbl.cxx
442 --- a/RasTbl.cxx 2013-01-04 13:20:20.000000000 +0100
443 +++ b/RasTbl.cxx 2013-03-06 02:53:38.498731794 +0100
444 @@ -1870,6 +1870,7 @@
445 endpoints->push_back(routes.front().m_destEndpoint.operator->());
446 }
447
448 +#if PTRACING
449 if (PTrace::CanTrace(4)) {
450 ostream &strm = PTrace::Begin(4, __FILE__, __LINE__);
451 strm << "RASTBL\tPrefix match for gateways: ";
452 @@ -1880,6 +1881,7 @@
453 }
454 PTrace::End(strm);
455 }
456 +#endif
457
458 return true;
459 }
460 diff -ur a/Routing.cxx b/Routing.cxx
461 --- a/Routing.cxx 2012-12-28 21:35:42.000000000 +0100
462 +++ b/Routing.cxx 2013-03-06 02:53:38.498731794 +0100
463 @@ -1452,6 +1452,7 @@
464 PTRACE(5, "ROUTING\t" << m_name << " policy loaded with " << m_prefixes.size()
465 << " prefix entries");
466
467 +#if PTRACING
468 if (PTrace::CanTrace(6)) {
469 ostream &strm = PTrace::Begin(6, __FILE__, __LINE__);
470 strm << "ROUTING\t" << m_name << " policy prefixes:" << endl;
471 @@ -1461,6 +1462,7 @@
472 << m_prefixes[i].m_maxLength << endl;
473 PTrace::End(strm);
474 }
475 +#endif
476 }
477
478 bool NumberAnalysisPolicy::OnRequest(AdmissionRequest & request)
479 diff -ur a/Toolkit.cxx b/Toolkit.cxx
480 --- a/Toolkit.cxx 2013-01-10 10:23:01.000000000 +0100
481 +++ b/Toolkit.cxx 2013-03-06 02:53:38.498731794 +0100
482 @@ -960,6 +960,7 @@
483 return;
484 }
485
486 +#if PTRACING
487 if (PTrace::CanTrace(3) && (m_GWRewrite.GetSize() < 100)) {
488 for (PINDEX i = 0; i < m_GWRewrite.GetSize(); ++i) {
489 // In
490 @@ -973,6 +974,7 @@
491 }
492 }
493 }
494 +#endif
495 PTRACE(2, "GK\tLoaded " << m_GWRewrite.GetSize() << " GW entries with rewrite info");
496 }
497
498 @@ -1581,7 +1583,9 @@
499 // read the gatekeeper name from the config file, because it might be used as a key into the SQL config
500 m_GKName = Config()->GetString("Name", "OpenH323GK");
501
502 +#if PTRACING
503 PTrace::SetLevel(GkConfig()->GetInteger("TraceLevel", PTrace::GetLevel()));
504 +#endif
505
506 // set the max size of an array in an ASN encoded message (eg. max length of alias list)
507 PINDEX maxArraySize = GkConfig()->GetInteger("MaxASNArraySize", 0);
508 diff -ur a/yasocket.cxx b/yasocket.cxx
509 --- a/yasocket.cxx 2012-12-10 20:32:52.000000000 +0100
510 +++ b/yasocket.cxx 2013-03-06 02:53:38.498731794 +0100
511 @@ -1018,10 +1018,12 @@
512 return false;
513 }
514 ConfigReloadMutex.StartRead();
515 +#if PTRACING
516 if (PTrace::CanTrace(6)) {
517 PString msg(PString::Printf, "\t%u sockets selected from %u, total %u/%u", slist.GetSize(), ss, m_socksize, m_rmsize);
518 PTRACE(6, GetName() << msg);
519 }
520 +#endif
521 return true;
522 }