Fix for issue 3801 (Monitoring Connection Handler : keep the same format)
Do not display a ficticious address. If a connection handler has no address defined in its configuration, only show the port of the connection handler.
| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Copyright 2008-2009 Sun Microsystems, Inc. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.datamodel; |
| | |
| | | { |
| | | if (desc.getPort() > 0) |
| | | { |
| | | returnValue = "0.0.0.0:"+desc.getPort(); |
| | | returnValue = String.valueOf(desc.getPort()); |
| | | } |
| | | else |
| | | { |