From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 5 Jul 2009 12:11:18 +0000 (+0000)
Subject: Highlight: Marking the server socket 7 tainted.
X-Git-Tag: v_3_0_14~61
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/static/@default-cgi@send-stylesheet?a=commitdiff_plain;h=4e29dcc957beb079816ac09583aad9ce3a25255e;p=privoxy.git

Highlight: Marking the server socket 7 tainted.
---

diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 81ec47e5..d685ef3b 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -1584,6 +1584,12 @@ sub handle_loglevel_connect ($) {
         $c =~ s@(?<=server socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
         $c = highlight_matched_host($c, '(?<=to )[^\s]+');
 
+    } elsif ($c =~ m/^Marking the server socket/) {
+
+        # Marking the server socket 7 tainted.
+
+        $c =~ s@(?<=server socket )(\d+)@$h{'Number'}$1$h{'Standard'}@;
+
     } elsif ($c =~ m/^Looks like we rea/ or
              $c =~ m/^Unsetting keep-alive flag/ or
              $c =~ m/^No connections to wait/ or