summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2008-06-03 15:24:34 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-06-03 15:24:34 +0000
commitfa53d9dcff3326ea7fb3fd1c2c1a57fcc3cc9dbf (patch)
tree92d102c473066f6c94feb494e6e60af9c415d9eb /radsecproxy.c
parenta52dbc68d142399681577fe76b423e4b1df4b4bf (diff)
renamed rpf to loopprevention
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@277 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index 83c3dd4..30cc0f1 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -1906,8 +1906,8 @@ void radsrv(struct request *rq) {
goto exit;
}
- if (options.rpf && !strcmp(rq->from->conf->name, to->conf->name)) {
- debug(DBG_INFO, "radsrv: RPF failed, not forwarding request from client %s to server %s, discarding",
+ if (options.loopprevention && !strcmp(rq->from->conf->name, to->conf->name)) {
+ debug(DBG_INFO, "radsrv: Loop prevented, not forwarding request from client %s to server %s, discarding",
rq->from->conf->name, to->conf->name);
goto exit;
}
@@ -3126,7 +3126,7 @@ void getmainconfig(const char *configfile) {
"SourceTCP", CONF_STR, &options.sourcetcp,
"LogLevel", CONF_STR, &loglevel,
"LogDestination", CONF_STR, &options.logdestination,
- "RPFCheck", CONF_BLN, &options.rpf,
+ "LoopPrevention", CONF_BLN, &options.loopprevention,
"Client", CONF_CBK, confclient_cb,
"Server", CONF_CBK, confserver_cb,
"Realm", CONF_CBK, confrealm_cb,