mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
21 lines
1.1 KiB
Diff
21 lines
1.1 KiB
Diff
--- mod_auth_radius-2.0.c
|
|
+++ mod_auth_radius-2.0.c.patched
|
|
@@ -680,7 +680,7 @@
|
|
* benefit here.
|
|
*/
|
|
apr_snprintf(one, COOKIE_SIZE, "%s%s%s%s%s%08x", scr->secret,
|
|
- r->user, passwd, c->remote_ip, hostname, expires);
|
|
+ r->user, passwd, r->useragent_ip, hostname, expires);
|
|
|
|
/* if you're REALLY worried about what's going on */
|
|
|
|
@@ -688,7 +688,7 @@
|
|
ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," secret = %s\n", scr->secret);
|
|
ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," user = %s\n", r->user);
|
|
ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," passwd = %s\n", passwd);
|
|
- ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," remote ip = %s\n", c->remote_ip);
|
|
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," useragent ip = %s\n", r->useragent_ip);
|
|
ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," hostname = %s\n", hostname);
|
|
ap_log_error(APLOG_MARK, APLOG_NOERRNO | APLOG_DEBUG, 0, r->server," expiry = %08x\n", expires);
|
|
#endif
|