Skip to content

Commit 99cfe09

Browse files
committed
feat: MuxNetAddress实例化调整
1 parent 55f6ee0 commit 99cfe09

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/top/meethigher/proxy/tcp/mux/model/MuxNetAddress.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ public MuxNetAddress(String host, int port, String name) {
1111
this.name = name;
1212
}
1313

14+
public MuxNetAddress(int port, String name) {
15+
super("0.0.0.0", port);
16+
this.name = name;
17+
}
18+
1419
public String getName() {
1520
return name;
1621
}

0 commit comments

Comments
 (0)