---------------------------------------------------------------------------
| 1114 | } |
| 1115 | //--------------------------------------------------------------------------- |
| 1116 | void __fastcall TMainForm::aFilterByIPExecute(TObject *Sender) |
| 1117 | { |
| 1118 | TSyslogMessage * sm = GetMessageByIndex(LogSG->Row - 1); |
| 1119 | if( ! sm ) |
| 1120 | return; |
| 1121 | if( sm->SourceAddr.Length() == 0 ) |
| 1122 | return; |
| 1123 | MessMatch.Clear(); |
| 1124 | MessMatch.Field1 = 2; |
| 1125 | MessMatch.Contains1 = true; |
| 1126 | MessMatch.Text1->Add(sm->SourceAddr); |
| 1127 | ApplyFilter(); |
| 1128 | } |
| 1129 | //--------------------------------------------------------------------------- |
| 1130 | void __fastcall TMainForm::aFilterByHostExecute(TObject *Sender) |
| 1131 | { |