mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-16 00:44:42 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
97c55ada71 |
@@ -74,7 +74,7 @@ func (tcpService *TcpService) genId() uint64 {
|
|||||||
|
|
||||||
|
|
||||||
func GetNodeId(agentId uint64) int {
|
func GetNodeId(agentId uint64) int {
|
||||||
return int(agentId>>54)
|
return int(agentId>>50)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (tcpService *TcpService) OnInit() error{
|
func (tcpService *TcpService) OnInit() error{
|
||||||
|
|||||||
Reference in New Issue
Block a user