Hi Guys,
i'm trying to implement floating device support on HP ProCurve 2920
switches and i've stumbled upon this part in enablePortConfig of lib/pf/
floatingdevice.pm :
sub enablePortConfig {
...snip...
$logger->info("Disabling port access control on port $switch_port :
radius_triggered = $radius_triggered");
if (!$radius_triggered && !
$switch->disablePortSecurityByIfIndex($switch_port)) {
$logger->error("An error occured while disabling port-security on
port $switch_port");
return 0;
}
...snip...
I have three questions regarding this piece of code.
1. I did not find where radius_triggered is set or passed to that
function ? where does this come from ?
2. If radius_triggered is 1 / true, the second part
$switch->disablePortSecurityByIfIndex($switch_port)
is never evaluated, or am i wrong ?
3. Is this whats supposed to happen here ?
I hope someone can clarify this for me :)
regards
Dennis
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users