> I noticed that the custom_getCorrectVlan function in the file
> /usr/local/pf/lib/pf/vlan/custom.pm is different then the function on
> page 9 of the devel document.
>
This interface changed between pre 2.0 and 2.0.

> Which is correct?
>
>> From the file:
> my ($this, $switch, $ifIndex, $mac, $node_info, $connection_type,
> $user_name, $ssid) = @_;
>
>> From the Dev doc:
> My($this, $switch_ip, $ifIndex, $mac, $status, $vlan, $pid) = @_;

I checked the current devel guide and it is correct.

-- 
Olivier Bilodeau
[email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to