Re: Corner case in puzzleFWrules.pl

Achim Weber <[email protected]>
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <[email protected]>
Thanks Eric for catching this!

I reformated the if-block a bit to simplify the readability.

Achim


> Hi Achim
> 
> I found an unusual situation where the NEXT_SWITCH_HOUR and
> NEXT_SWITCH_MINUTE would not be set, where the Start time was after
> the End Time, i.e. setting from 13:15 to 12:45, at 12:30 would result
> in a NEXT_SWITCH at 13:15, instead of 12:45, because minutes 15 < 45.
> 
> Setting from 13:55 to 12:45, at 12:30 worked as expected, as minutes 55 > 45.
> 
> I've committed a fix to SVN, which I'm sure you may be able to improve on.
> 
> Regards
> 
> Eric
> 
> ------------------------------------------------------------------------------
> Using storage to extend the benefits of virtualization and iSCSI
> Virtualization increases hardware utilization and delivers a new level of
> agility. Learn what those decisions are and how to modernize your storage 
> and backup environments for virtualization.
> http://www.accelacomm.com/jaw/sfnl/114/51434361/
> _______________________________________________
> IPCop-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ipcop-devel
> 


------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.