From 3aca90811ccd642fc65e09521f7268907ac96893 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 27 Aug 2012 07:29:47 -0700 Subject: [PATCH] Clear the current comment at the end of the blrules file. Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Rules.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall/Perl/Shorewall/Rules.pm b/Shorewall/Perl/Shorewall/Rules.pm index c029e8e06..40ceb808f 100644 --- a/Shorewall/Perl/Shorewall/Rules.pm +++ b/Shorewall/Perl/Shorewall/Rules.pm @@ -2460,6 +2460,8 @@ sub process_rules( $ ) { ); process_rule while read_a_line( NORMAL_READ ); + + clear_comment; } $section = '';