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

fguigues
30.04.2008 02794428f2787b603f758d25512c6a669a19624a
opendj-sdk/opends/src/snmp/src/org/opends/server/snmp/SNMPInetAddressAcl.java
@@ -52,6 +52,10 @@
     * Current Security Configuration for the SNMP Connection Handler.
     */
    private SNMPConnectionHandlerCfg currentConfig;
    /**
     * If * then all the users are allowed to access in read.
     */
    private static final String ALL_MANAGERS_ALLOWED = "*";
    private TreeSet<InetAddress> hostsList;
    private boolean allManagers = false;
@@ -73,7 +77,7 @@
        // hostsList
        SortedSet tmp = this.currentConfig.getAllowedManager();
        if (tmp.isEmpty()) {
        if (tmp.contains(ALL_MANAGERS_ALLOWED)) {
            this.allManagers=true;
        }
        this.hostsList = new TreeSet<InetAddress>();