EgtExecutor 2.5j1 :
- riallineamento - sistemazioni per chiave di rete esposta su Internet.
This commit is contained in:
+8
-5
@@ -278,9 +278,12 @@ ExeSetLockId( const string& sLockId)
|
||||
bOk = ( s_nKeyType != KEY_LOCK_TYPE_HW) ;
|
||||
break ;
|
||||
case KEY_LOCK_TYPE_HW :
|
||||
ExeSetNetHwKey( bNetKey, nUserId) ;
|
||||
bOk = true ;
|
||||
break ;
|
||||
{ string sAddrPort ;
|
||||
GetLockIdStringNetData( sLockId, sAddrPort) ;
|
||||
ExeSetNetHwKey( bNetKey, nUserId, sAddrPort) ;
|
||||
bOk = true ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
if ( bOk)
|
||||
s_sLockId = sLockId ;
|
||||
@@ -300,11 +303,11 @@ ExeGetLockId( void)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeSetNetHwKey( bool bNetHwKey, int nUserId)
|
||||
ExeSetNetHwKey( bool bNetHwKey, int nUserId, const string& sAddrPort)
|
||||
{
|
||||
s_bNetHwKey = bNetHwKey ;
|
||||
SetEGnNetHwKey( s_bNetHwKey) ;
|
||||
return SetNetHwKey( s_bNetHwKey, nUserId) ;
|
||||
return SetNetHwKey( s_bNetHwKey, nUserId, sAddrPort) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user