From Rainer Weikusat <rweikusat@mobileactivedefense.com>: Export phase1
remote address as Radius Calling-Station-Id.
This commit is contained in:
parent
0cf7fed87e
commit
2d9f2eda4f
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: isakmp_xauth.c,v 1.25 2013/02/05 06:22:29 tteras Exp $ */
|
||||
/* $NetBSD: isakmp_xauth.c,v 1.26 2013/07/19 10:54:52 tteras Exp $ */
|
||||
|
||||
/* Id: isakmp_xauth.c,v 1.38 2006/08/22 18:17:17 manubsd Exp */
|
||||
|
||||
|
@ -592,6 +592,10 @@ xauth_login_radius(iph1, usr, pwd)
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (rad_put_string(radius_auth_state, RAD_CALLING_STATION_ID,
|
||||
saddr2str(iph1->remote)) != 0)
|
||||
return -1;
|
||||
|
||||
if (isakmp_cfg_radius_common(radius_auth_state, iph1->mode_cfg->port) != 0)
|
||||
return -1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue