Commit aa4a5a8c authored by Linus Nordberg's avatar Linus Nordberg

Have rewriteIn for servers use the correct config section.

Conflicts:
	ChangeLog
parent d22b2a2d
Unreleased 1.6.6-dev
Bug fixes:
- Have rewriteIn for servers use the correct config section. We
used to apply rewriteIn using the rewrite block of the client
rather than the server. Patch by Fabian Mauchle. Fixes
RADSECPROXY-59.
2013-09-06 1.6.5
Bug fixes:
- Fix a crash bug introduced in 1.6.4. Fixes RADSECPROXY-53,
......
......@@ -1638,9 +1638,8 @@ void replyh(struct server *server, unsigned char *buf) {
}
gettimeofday(&server->lastreply, NULL);
from = rqout->rq->from;
if (server->conf->rewritein && !dorewrite(msg, from->conf->rewritein)) {
if (server->conf->rewritein && !dorewrite(msg, server->conf->rewritein)) {
debug(DBG_INFO, "replyh: rewritein failed");
goto errunlock;
}
......@@ -1651,6 +1650,8 @@ void replyh(struct server *server, unsigned char *buf) {
goto errunlock;
}
from = rqout->rq->from;
/* MS MPPE */
for (node = list_first(msg->attrs); node; node = list_next(node)) {
attr = (struct tlv *)node->data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment