Changeset 34c0958


Ignore:
Timestamp:
Aug 20, 2012 12:14:43 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9452547
Parents:
38b0927
Message:

do not use 8887 default in UI

Location:
apps/routerconsole/java/src/net/i2p/router/web
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigNetHandler.java

    r38b0927 r34c0958  
    225225            // UDP Settings
    226226            if ( (_udpPort != null) && (_udpPort.length() > 0) ) {
    227                 String oldPort = "" + _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, UDPTransport.DEFAULT_INTERNAL_PORT);
     227                String oldPort = _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, "unset");
    228228                if (!oldPort.equals(_udpPort)) {
    229229                    changes.put(UDPTransport.PROP_INTERNAL_PORT, _udpPort);
  • apps/routerconsole/java/src/net/i2p/router/web/ConfigNetHelper.java

    r38b0927 r34c0958  
    6262
    6363    public String getConfiguredUdpPort() {
    64         return "" + _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, UDPTransport.DEFAULT_INTERNAL_PORT);
     64        return _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, "unset");
    6565    }
    6666
Note: See TracChangeset for help on using the changeset viewer.