diff options
Diffstat (limited to 'cpp/src/qpid/acl/AclReader.cpp')
| -rw-r--r-- | cpp/src/qpid/acl/AclReader.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/qpid/acl/AclReader.cpp b/cpp/src/qpid/acl/AclReader.cpp index 7eb9b82c64..0fc6437a6c 100644 --- a/cpp/src/qpid/acl/AclReader.cpp +++ b/cpp/src/qpid/acl/AclReader.cpp @@ -264,7 +264,8 @@ namespace acl { } // Propagate nonzero per-user max connection setting from CLI if (cliMaxConnPerUser > 0) { - (*connQuota)[AclData::ACL_KEYWORD_ACL] = cliMaxConnPerUser; + connQuotaRulesExist = true; + (*connQuota)[AclData::ACL_KEYWORD_ALL] = cliMaxConnPerUser; } // Loop to process the Acl file try { @@ -413,6 +414,10 @@ namespace acl { return false; } } + + // We have processed a connection quota rule + connQuotaRulesExist = true; + return true; } |
