22 Oct
2009
22 Oct
'09
2:14 a.m.
John Morrissey wrote:
rlm_preprocess sets NAS-IP-Address if it's not set. Alan, would you accept a patch to add similar behavior for Client-IP-Address?
I forked the github FreeRADIUS tree a while ago and made this change. I sent a pull request for this commit, but haven't seen it pulled into the canonical git tree, so maybe it's preferable to post it to -devel?
I'd like to replace Client-IP-Address with Packet-Src-IP-Address, as it's a better name. There's also matching Packet-Dst-IP-Address, IPv6 equivalents, and equivalents for src/dst port. I'd be more comfortable adding *all* of them, rather than just one. Alan DeKok.