do not use 8887 default in UI

This commit is contained in:
zzz
2012-08-20 12:14:43 +00:00
parent 38b0927d01
commit 34c09583b4
2 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ public class ConfigNetHandler extends FormHandler {
// UDP Settings
if ( (_udpPort != null) && (_udpPort.length() > 0) ) {
String oldPort = "" + _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, UDPTransport.DEFAULT_INTERNAL_PORT);
String oldPort = _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, "unset");
if (!oldPort.equals(_udpPort)) {
changes.put(UDPTransport.PROP_INTERNAL_PORT, _udpPort);
changes.put(UDPTransport.PROP_EXTERNAL_PORT, _udpPort);

View File

@ -61,7 +61,7 @@ public class ConfigNetHelper extends HelperBase {
}
public String getConfiguredUdpPort() {
return "" + _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, UDPTransport.DEFAULT_INTERNAL_PORT);
return _context.getProperty(UDPTransport.PROP_INTERNAL_PORT, "unset");
}
/** @param prop must default to false */