mirror of
https://gitee.com/willfree/min-dev-java.git
synced 2026-06-18 08:20:25 +08:00
默认TTL设为64
This commit is contained in:
@@ -19,7 +19,11 @@ public class TTL implements IEncodingAble {
|
||||
*/
|
||||
private long ttl;
|
||||
|
||||
/**
|
||||
* 默认TTL为64,即经过64跳路由器后被丢弃
|
||||
*/
|
||||
public TTL() {
|
||||
this.ttl=64;
|
||||
}
|
||||
|
||||
public TTL(long ttl){
|
||||
|
||||
@@ -34,8 +34,8 @@ public class TestAPI {
|
||||
// System.out.println(res);
|
||||
// }
|
||||
public static void main(String[] args){
|
||||
String username="/fssASssJGXUa2ss";
|
||||
String email="25SAawhqeDsissssahHk3s@163.com";
|
||||
String username="/fsGXUa2ss";
|
||||
String email="2hqeDsissssahHk3s@163.com";
|
||||
int userID=1;
|
||||
// 模拟客户端生成自己的公钥私钥
|
||||
BC_KeyManager bc_keyManager=new BC_KeyManager();
|
||||
|
||||
Reference in New Issue
Block a user