Skip to content

Commit 09a520f

Browse files
author
Petar Kresoja
committed
Fixed the display of the port the rcon is running on
1 parent 410f4d8 commit 09a520f

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

build/built-jar.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Tue, 07 Jul 2020 03:47:28 +0200
1+
#Tue, 07 Jul 2020 12:10:21 +0200
22

33

44
C\:\\Users\\petar\\Documents\\NetBeansProjects\\JavaRcon=
-5 Bytes
Binary file not shown.

dist/JavaRcon.jar

-5 Bytes
Binary file not shown.

nbproject/private/private.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
33
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
44
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
5-
<group/>
5+
<group>
6+
<file>file:/C:/Users/petar/Documents/NetBeansProjects/JavaRcon/src/javarcon/CustomRcon.java</file>
7+
<file>file:/C:/Users/petar/Documents/NetBeansProjects/JavaRcon/src/javarcon/JavaRcon.java</file>
8+
</group>
69
</open-files>
710
</project-private>

src/javarcon/CustomRcon.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public String command(String payload) throws IOException {
7676
@Override
7777
public String toString() {
7878
Socket s = getSocket();
79-
return s.getInetAddress() + ":" + s.getLocalPort();
79+
return s.getInetAddress() + ":" + s.getPort();
8080
}
8181

8282
}

0 commit comments

Comments
 (0)