On Tue, 2011-08-30 at 22:55 +0100, Steven Jan Springl wrote:

> Applying the patch produced the following messages:
> 
> patching file Misc.pm
> Hunk #1 succeeded at 473 with fuzz 2 (offset -3 lines).
> Hunk #2 FAILED at 529.
> 1 out of 2 hunks FAILED -- saving rejects to file Misc.pm.rej
> 
> I have attached a copy of Misc.pm.rej

Steven,

I sent the wrong patch. Here is the correct one.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm
index 26cf6e4..290e378 100644
--- a/Shorewall/Perl/Shorewall/Tc.pm
+++ b/Shorewall/Perl/Shorewall/Tc.pm
@@ -1425,6 +1425,8 @@ sub process_tcpri() {
 #
 sub process_traffic_shaping() {
 
+    our $lastrule = '';
+
     my $fn = open_file 'tcdevices';
 
     if ( $fn ) {

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to