Update of /cvsroot/netpass/NetPass/lib
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv15144/lib
Modified Files:
NetPass.pm
Log Message:
primarily changes to API to allow easier remote control of netpass from IDS systems
Index: NetPass.pm
===================================================================
RCS file: /cvsroot/netpass/NetPass/lib/NetPass.pm,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- NetPass.pm 9 Sep 2005 12:32:11 -0000 1.23
+++ NetPass.pm 7 Jul 2006 13:31:37 -0000 1.24
@@ -237,8 +237,10 @@
if (grep (/^$_vlan$/, @$x)) {
_log ("WARNING", "$hn/$port is already in vlan $vlan ($_vlan)\n");
- $self->error("already in that vlan: nothing to do!");
- return 1; # success
+ # this bit of efficiency tends to cause problems, it's best to
+ # go ahead and just reset the vlan membership regardless.
+ #$self->error("already in that vlan: nothing to do!");
+ #return 1; # success
}
_log ("INFO", "Setting port $port on $hn to PVID $_vlan ($vlan)\n")
|