Blame SOURCES/pflogsumm-1.1.5-syslog-name-underscore-fix.patch

1d3c9d
diff --git a/pflogsumm-1.1.5/pflogsumm.pl b/pflogsumm-1.1.5/pflogsumm.pl
1d3c9d
index eb527d0..7e26206 100755
1d3c9d
--- a/pflogsumm-1.1.5/pflogsumm.pl
1d3c9d
+++ b/pflogsumm-1.1.5/pflogsumm.pl
1d3c9d
@@ -503,7 +503,12 @@ $usageMsg =
1d3c9d
 # Accept either "_"s or "-"s in --switches
1d3c9d
 foreach (@ARGV) {
1d3c9d
     last if($_ eq "--");
1d3c9d
-    tr/_/-/ if(/^--\w/);
1d3c9d
+    if (/^--\w/)
1d3c9d
+    {
1d3c9d
+        my @argspl = split("=", $_, 2);
1d3c9d
+        $argspl[0] =~ tr/_/-/;
1d3c9d
+        $_ = join("=", @argspl);
1d3c9d
+    }
1d3c9d
 }
1d3c9d
 
1d3c9d
 # Some pre-inits for convenience