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

fguigues
30.04.2008 c41b122d3771d11cb253eaae10d06afb6a3b6f05
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>();