summaryrefslogtreecommitdiffstats
path: root/userspace/ebtables2
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2005-10-02 12:09:24 +0000
committerBart De Schuymer <bdschuym@pandora.be>2005-10-02 12:09:24 +0000
commit41eee556fb11e507c2dff7eaf97dbf5feb4f70c7 (patch)
tree53ec865b5120ca67936f67ccb7fca619197d2d59 /userspace/ebtables2
parente1d621d9657b39ccf3f1141e0cd3a5aefa86da5f (diff)
remove trailing ' '
Diffstat (limited to 'userspace/ebtables2')
-rw-r--r--userspace/ebtables2/ebtables-save2
1 files changed, 2 insertions, 0 deletions
diff --git a/userspace/ebtables2/ebtables-save b/userspace/ebtables2/ebtables-save
index 90f62ef..49d733b 100644
--- a/userspace/ebtables2/ebtables-save
+++ b/userspace/ebtables2/ebtables-save
@@ -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";
}