forked from I2P_Developers/i2p.i2p
* Streaming:
- Listen only on local port if set - Listen only for streaming protocol if configured (new option) - Javadocs re: ports
This commit is contained in:
@ -122,7 +122,7 @@ public class I2PTunnelHTTPServer extends I2PTunnelServer {
|
||||
Properties opts = getTunnel().getClientOptions();
|
||||
String spoofHost;
|
||||
int ourPort = socket.getLocalPort();
|
||||
if (ourPort != 80 && ourPort > 0 && ourPort < 65535 && opts != null) {
|
||||
if (ourPort != 80 && ourPort > 0 && ourPort <= 65535 && opts != null) {
|
||||
String portSpoof = opts.getProperty("spoofedHost." + ourPort);
|
||||
if (portSpoof != null)
|
||||
spoofHost = portSpoof.trim();
|
||||
|
Reference in New Issue
Block a user