This is a Perl hook that is called once for each request
before the request is forwarded to a remote RADIUS or RadSec server. It
allows you to modify the forwarded request without changing the current
one. ForwardHook
receives the following
arguments:
- Current request
- Forwarded request
Here is an example of using
ForwardHook
:
ForwardHook sub { my $p = $_[0]; my $fp = $_[1]; \
$fp->add_attr('OSC-AVPAIR', 'Added by ForwardHook'); }