Added comment to the return from formatRule
authorAndrew DeFaria <Andrew@DeFaria.com>
Tue, 15 Feb 2022 18:42:13 +0000 (10:42 -0800)
committerAndrew DeFaria <Andrew@DeFaria.com>
Tue, 15 Feb 2022 18:42:13 +0000 (10:42 -0800)
maps/bin/maps

index c5d3a8c..fc0a65f 100755 (executable)
@@ -125,7 +125,7 @@ sub ValidDomainUser($) {
 sub formatRule($) {
   my ($rec) = @_;
 
-  return "$rec->{pattern}\@$rec->{domain}:$rec->{sequence}/$rec->{hit_count}";
+  return "$rec->{pattern}\@$rec->{domain}:$rec->{sequence}/$rec->{hit_count} $rec->{comment}";
 } # formatRule
 
 sub ProcessMsgs ($$$) {