This commit is contained in:
Wolfgang Hottgenroth 2009-02-20 21:33:37 +01:00
parent 51b437f192
commit 30cbcdab92
2 changed files with 4 additions and 3 deletions

View File

@ -77,8 +77,8 @@ class HttpCmdHandler(BaseHTTPServer.BaseHTTPRequestHandler):
def setAddress(self, c, address):
try:
dynId = c['dynid'][0]
sharedSecret = c['sharedsecret'][0]
dynId = c['d'][0]
sharedSecret = c['s'][0]
except KeyError, e:
raise LocalException('Parameter missing: ' + str(e))

View File

@ -36,11 +36,12 @@ import AdminFuncs
#DEBUG = True
MSG_TIME_CORRIDOR = 120
EVENT_LIFE_TIME = 300
EVENT_LIFE_TIME = 600
NULL_ADDRESS = '0.0.0.0'
TTL = 120
EXPIRY_PERIOD = 300
NAMESERVER = '88.198.170.2'
NAMESERVER_PORT = 53
TSIGKEY = { "yadyn." : "+xLH8GuZnEgBljuIEM/iDA==" }
PID_FILE = "/var/db/yadyn/yadyn.pid"
ENTRIES_FILE = "/var/db/yadyn/entries"