match Cistron.
The Client-IP-Address name is similar to the old Client-ID, etc.
names, but I hope it doesn't confuse too many people...
ATTRIBUTE Replicate-To-Realm 1049 string
ATTRIBUTE Acct-Session-Start-Time 1050 date
ATTRIBUTE Acct-Unique-Session-Id 1051 string
-ATTRIBUTE Request-Src-IP-Address 1052 ipaddr
+ATTRIBUTE Client-IP-Address 1052 ipaddr
ATTRIBUTE Ldap-UserDn 1053 string
ATTRIBUTE NS-MTA-MD5-Password 1054 string
ATTRIBUTE Replicate-To-Realm 1049 string
ATTRIBUTE Acct-Session-Start-Time 1050 date
ATTRIBUTE Acct-Unique-Session-Id 1051 string
-ATTRIBUTE Request-Src-IP-Address 1052 ipaddr
+ATTRIBUTE Client-IP-Address 1052 ipaddr
ATTRIBUTE Ldap-UserDn 1053 string
ATTRIBUTE NS-MTA-MD5-Password 1054 string
#define PW_REPLICATE_TO_REALM 1049
#define PW_ACCT_SESSION_START_TIME 1050
#define PW_ACCT_UNIQUE_SESSION_ID 1051
-#define PW_REQUEST_SRC_IP_ADDRESS 1052
+#define PW_CLIENT_IP_ADDRESS 1052
#define LDAP_USERDN 1053
#define PW_NS_MTA_MD5_PASSWORD 1054
}
/*
- * Add in a Request-Src-IP-Address, to tell the user
+ * Add in a Client-IP-Address, to tell the user
* the source IP of the request. That is, the client,
- * but Client-IP-Address is too close to the old
- * Client-FOO names, which I KNOW would confuse a lot
- * of people.
*
* Note that this MAY BE different from the NAS-IP-Address,
* especially if the request is being proxied.
* and will NOT make it to any packets being sent from
* the server.
*/
- nas = paircreate(PW_REQUEST_SRC_IP_ADDRESS, PW_TYPE_IPADDR);
+ nas = paircreate(PW_CLIENT_IP_ADDRESS, PW_TYPE_IPADDR);
if (!nas) {
radlog(L_ERR, "No memory");
exit(1);