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

Valery Kharseko
10 hours ago 878917fafbbbc111ab570b94814aa3216d14fd9a
opendj-server-legacy/src/test/java/org/opends/server/snmp/SNMPConnectionManager.java
@@ -13,6 +13,7 @@
 *
 * Copyright 2008 Sun Microsystems, Inc.
 * Portions copyright 2014-2016 ForgeRock AS.
 * Portions copyright 2026 3A Systems, LLC
 */
package org.opends.server.snmp;
@@ -139,7 +140,7 @@
    try
    {
      String host = InetAddress.getLocalHost().getCanonicalHostName();
      String host = "localhost";
      SnmpOidTableSupport oidTable = new DIRECTORY_SERVER_MIBOidTable();
      SnmpOid.setSnmpOidTable(oidTable);
@@ -166,7 +167,7 @@
    try
    {
      String host = InetAddress.getLocalHost().getCanonicalHostName();
      String host = "localhost";
      SnmpOidTableSupport oidTable = new DIRECTORY_SERVER_MIBOidTable();
      SnmpOid.setSnmpOidTable(oidTable);
      return new SnmpPeer(host, port);