mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

fguigues
26.16.2008 cf4107b24d1f1bd634ad7fd935d6e08cb8b026cb
opends/src/snmp/src/org/opends/server/snmp/DsApplIfOpsEntryImpl.java
@@ -97,8 +97,18 @@
   * @return an OID representing the connection handler:port
   */
  public String getDsApplIfProtocol() {
//      return  new String("1.3.6.1..27.3.") + portNumber;
      return DsApplIfProtocol;
      String portNumber = (String)this.monitor.getAttribute
              (this.connectionHandlerName, "ds-connectionhandler-listener");
      if (portNumber==null) {
          return this.DsApplIfProtocol;
      }
      else {
          int index = portNumber.lastIndexOf(":");
          if (index==-1) {
              return this.DsApplIfProtocol;
          }
          return  new String("1.3.6.1..27.3.") + portNumber.substring(index+1);
      }
  }
  /**