Fabrice,

Thank you!

I am having some trouble patching it (im new to patching pf)
First I cd to /lib/pf/
I curled the .dff commit and named it pf.diff
I renamed SNMP.pm to Switch.pm
I tired doing patch -p1 < pf.diff and got this:
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/lib/pf/Switch.pm b/lib/pf/Switch.pm
|index 2b5723d..2efade4 100644
|--- a/lib/pf/Switch.pm
|+++ b/lib/pf/Switch.pm
--------------------------
File to patch:

Any idea what I am doing wrong?

-Jason

-----Original Message-----
From: Durand fabrice [mailto:[email protected]] 
Sent: Monday, April 28, 2014 5:22 PM
To: [email protected]
Subject: Re: [PacketFence-users] Change VLAN Bug

Hi Jason,

this bug has been fixed but be careful we renamed SNMP to Switch.
https://github.com/inverse-inc/packetfence/commit/90cc0a1796a84fce5155284b49129bdc87efe3ff

Regards
Fabrice

Le 2014-04-28 16:57, Decoursey, Jason B CADET MIL USA USMA a écrit :
> Hello,
>
> I believe I have run into a bug that is preventing pf from changing 
> the VLAN after a user registers. The following is a excerpt from the 
> packetfence.log file
>
> Thread 1 terminated abnormally: Undefined subroutine 
> &pf::SNMP::Cisco::Catalyst_2960::handleReAssignVlanTrapForWiredMacAuth
> called at /usr/local/pf/sbin/pfsetvlan line 1618.
>
> For the rest of the packetfence.log go here 
> http://pastebin.com/hRg0KYQr
>
> I am using SNMP for De-auth and Cisco MAB for authentication.
>
> Very Respectfully,
> Jason
>
>
>
> ----------------------------------------------------------------------
> -------- "Accelerate Dev Cycles with Automated Cross-Browser Testing - 
> For FREE Instantly run your Selenium tests across 300+ browser/OS 
> combos.  Get unparalleled scalability from the best Selenium testing 
> platform available.
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> PacketFence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE 
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get 
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to