|
|
@@ -1018,13 +1018,16 @@ void snfLOGmgr::doXHDRs(snfCFGData& CFGData, snfScanData& ScanData) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// Black header |
|
|
|
// Black header
|
|
|
|
|
|
|
|
const int AboveBandRange = 64; |
|
|
|
|
|
|
|
if( // If the Black XHDR is on and |
|
|
|
CFGData.XHDRBlack_OnOff && // We have a nonzero result |
|
|
|
0 < ScanData.CompositeFinalResult && // that is not found in the training |
|
|
|
!CFGData.TrainingWhiteRuleHandler.isListed( // white list then... |
|
|
|
ScanData.CompositeFinalResult) |
|
|
|
if( |
|
|
|
CFGData.XHDRBlack_OnOff && // If the Black XHDR is on and |
|
|
|
0 < ScanData.CompositeFinalResult && // We have a nonzero result and
|
|
|
|
AboveBandRange > ScanData.CompositeFinalResult && // it is not an above-band code and |
|
|
|
!CFGData.TrainingWhiteRuleHandler.isListed( // it is not found in the training |
|
|
|
ScanData.CompositeFinalResult) // white list then... |
|
|
|
) { |
|
|
|
O << CFGData.XHDRBlack_Header // Emit the Black XHDR. |
|
|
|
<< SMTPENDL; |