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