Permalink
Browse files

hardcoding the localhost allowed host

  • Loading branch information...
1 parent deea2d5 commit 7857cf8cc81e9087bae5aa1e39850a46d6707aff @progrium progrium committed Mar 27, 2011
Showing with 1 addition and 4 deletions.
  1. +1 −4 pfsense/bridge.py
View
@@ -53,10 +53,7 @@ def _handle():
srv=RadiusServer(addresses=[''], dict=dictionary.Dictionary("dictionary"))
-srv.hosts["66.92.0.185"]=server.RemoteHost("66.92.0.185", "secret", "localhost")
-srv.hosts["10.17.0.1"]=server.RemoteHost("10.17.0.1", "secret", "localhost")
-srv.hosts["10.16.0.1"]=server.RemoteHost("10.16.0.1", "secret", "localhost")
-srv.hosts["10.15.0.1"]=server.RemoteHost("10.15.0.1", "secret", "localhost")
+srv.hosts["127.0.0.1"]=server.RemoteHost("127.0.0.1", "secret", "localhost")
logger.info("starting server...")
try:

0 comments on commit 7857cf8

Please sign in to comment.