Skip to content

Commit

Permalink
Capture the value of Source-Ip: field #415
Browse files Browse the repository at this point in the history
  • Loading branch information
azumakuniyuki committed Nov 5, 2020
1 parent f12f0e8 commit cb43ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Sisimai/ARF.pm
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ sub make {
# Reporting-MTA: dns; mx.example.jp
$commondata->{'rhost'} = $1;

} elsif( $e =~ /\ASource-IP:[ ]*(.+)\z/ ) {
} elsif( $e =~ /\ASource-I[Pp]:[ ]*(.+)\z/ ) {
# The header is optional and MUST NOT appear more than once.
# Source-IP: 192.0.2.45
$arfheaders->{'rhost'} = $1;
Expand Down

0 comments on commit cb43ddb

Please sign in to comment.