aboutsummaryrefslogtreecommitdiff
path: root/net/openh323proxy/files/patch-ab
blob: 55376d2e5ae72b38fe3f646a8b6f67ead1306948 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
*** opengate.cxx.orig	Thu Oct 26 13:05:21 2000
--- opengate.cxx	Wed Nov 22 13:59:34 2000
*************** static PSemaphore TerminatedSema(0,1);  
*** 101,107 ****
  PCREATE_PROCESS(opengate)
  
  opengate::opengate()
! 	: PServiceProcess("Egoboo", "opengate",
  	                  GKVER_MAJOR, GKVER_MINOR, GKVER_STATUS, GKVER_BUILD
  	                 )
  {
--- 101,107 ----
  PCREATE_PROCESS(opengate)
  
  opengate::opengate()
! 	: PServiceProcess("Marco Polci and Egoboo", "openh323proxy",
  	                  GKVER_MAJOR, GKVER_MINOR, GKVER_STATUS, GKVER_BUILD
  	                 )
  {
*************** void opengate::Main()
*** 165,172 ****
  	PString AkaLocalAddr = Cfg.GetString( "Local Address", "*" );
  	MyEnviron.LocalAddr = AkaLocalAddr;
  	
!     // Set the gatekeeper id, the default is "Opengate: " + hostname
! 	PString AkaMyId = Cfg.GetString( "Gatekeeper Id", (PString) "Opengate: " + PIPSocket::GetHostName() );
  	MyEnviron.MyId = AkaMyId;
  //    if ( MyEnviron.LocalAddr == INADDR_ANY )
  //        PIPSocket::GetHostAddress( MyEnviron.LocalAddr );
--- 165,172 ----
  	PString AkaLocalAddr = Cfg.GetString( "Local Address", "*" );
  	MyEnviron.LocalAddr = AkaLocalAddr;
  	
!     // Set the gatekeeper id, the default is "OpengateProxy: " + hostname
! 	PString AkaMyId = Cfg.GetString( "Gatekeeper Id", (PString) "OpengateProxy: " + PIPSocket::GetHostName() );
  	MyEnviron.MyId = AkaMyId;
  //    if ( MyEnviron.LocalAddr == INADDR_ANY )
  //        PIPSocket::GetHostAddress( MyEnviron.LocalAddr );