Permalink
Browse files

added a comment to indicate the specific use of member_cache

  • Loading branch information...
1 parent 0da437a commit 36e1658b67c96dda4d200e6a6a8d3fb9610ce95d @progrium progrium committed Jan 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 pfsense/bridge.py
View
@@ -8,6 +8,10 @@
logger.setLevel(logging.DEBUG)
logger.addHandler(logging.StreamHandler(sys.stdout))
+# The member cache is a mapping of mac address to member username.
+# Any new mac address will override the last for a given member.
+# This is used only in cases when App Engine can't be reached,
+# ensuring that known/cached members will be ensured full access.
member_cache = {}
class RadiusServer(server.Server):

0 comments on commit 36e1658

Please sign in to comment.