remove trailing ' '
authorBart De Schuymer <bdschuym@pandora.be>
Sun, 2 Oct 2005 12:09:24 +0000 (12:09 +0000)
committerBart De Schuymer <bdschuym@pandora.be>
Sun, 2 Oct 2005 12:09:24 +0000 (12:09 +0000)
ebtables-save

index 90f62ef..49d733b 100644 (file)
@@ -37,6 +37,8 @@ sub process_table {
         }
         if ($cnt eq "--Lc") {
             $line =~ s/, pcnt = (.*) -- bcnt = (.*)/-c $1 $2/;
+        } else {
+            $line =~ s/ $//;
         }
         $rules = $rules . "-A $chain $line\n";
     }