diff options
-rwxr-xr-x | contrib/logread.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/logread.pl b/contrib/logread.pl index 26f809e54..14332352e 100755 --- a/contrib/logread.pl +++ b/contrib/logread.pl | |||
@@ -95,12 +95,12 @@ while (<>) | |||
95 | 95 | ||
96 | # Service names | 96 | # Service names |
97 | # TODO: might read the list from $GNUNET_PREFIX/libexec/gnunet/ | 97 | # TODO: might read the list from $GNUNET_PREFIX/libexec/gnunet/ |
98 | s/\b(multicast|psyc|psycstore|social)\b/BLUE $1/ex; | 98 | s/\b(multicast|psyc|psycstore|social)\b/BLUE $1/gex; |
99 | 99 | ||
100 | # Add message type names | 100 | # Add message type names |
101 | s/(\s+type\s+)(\d+)/ | 101 | s/(\s+type\s+)(\d+)/ |
102 | $1 . BRIGHT_CYAN (exists $msgtypes{$2} ? $msgtypes{$2} : 'UNKNOWN') . | 102 | $1 . BRIGHT_CYAN (exists $msgtypes{$2} ? $msgtypes{$2} : 'UNKNOWN') . |
103 | CYAN " ($2)"/ei; | 103 | CYAN " ($2)"/gei; |
104 | 104 | ||
105 | print; | 105 | print; |
106 | } | 106 | } |