I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 55f72998 authored by zzz's avatar zzz
Browse files

properly set protocol value

parent 23df3220
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,7 @@ import java.util.Properties; ...@@ -7,6 +7,7 @@ import java.util.Properties;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import net.i2p.I2PAppContext; import net.i2p.I2PAppContext;
import net.i2p.client.I2PSession;
import net.i2p.data.DataHelper; import net.i2p.data.DataHelper;
import net.i2p.util.I2PAppThread; import net.i2p.util.I2PAppThread;
import net.i2p.util.Log; import net.i2p.util.Log;
...@@ -272,7 +273,7 @@ public class SAMReader { ...@@ -272,7 +273,7 @@ public class SAMReader {
String pr = params.getProperty("PROTOCOL"); String pr = params.getProperty("PROTOCOL");
int fromPort = 0; int fromPort = 0;
int toPort = 0; int toPort = 0;
int protocol = 18; int protocol = I2PSession.PROTO_DATAGRAM_RAW;
try { try {
if (fp != null) if (fp != null)
fromPort = Integer.parseInt(fp); fromPort = Integer.parseInt(fp);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment