1
0

020-change-p2p-to-smtp.patch 1.5 KB

1234567891011121314151617181920
  1. --- a/graph.c
  2. +++ b/graph.c
  3. @@ -274,7 +274,7 @@ void MakeIndexPages(int NumIps, struct S
  4. // PASS 1: Write out the table
  5. - fprintf(file, "<TR bgcolor=lightblue><TD>Ip and Name<TD align=center>Total<TD align=center>Total Sent<TD align=center>Total Received<TD align=center>FTP<TD align=center>HTTP<TD align=center>P2P<TD align=center>TCP<TD align=center>UDP<TD align=center>ICMP\n");
  6. + fprintf(file, "<TR bgcolor=lightblue><TD>Ip and Name<TD align=center>Total<TD align=center>Total Sent<TD align=center>Total Received<TD align=center>FTP<TD align=center>HTTP<TD align=center>SMTP<TD align=center>TCP<TD align=center>UDP<TD align=center>ICMP\n");
  7. for (Counter=0; Counter < 21 && Counter < NumIps; Counter++)
  8. PrintTableLine(file, SummaryData[Counter], Counter);
  9. @@ -341,7 +341,7 @@ void MakeIndexPages(int NumIps, struct S
  10. // PASS 1: Write out the table
  11. - fprintf(file, "<TR bgcolor=lightblue><TD>Ip and Name<TD align=center>Total<TD align=center>Total Sent<TD align=center>Total Received<TD align=center>FTP<TD align=center>HTTP<TD align=center>P2P<TD align=center>TCP<TD align=center>UDP<TD align=center>ICMP\n");
  12. + fprintf(file, "<TR bgcolor=lightblue><TD>Ip and Name<TD align=center>Total<TD align=center>Total Sent<TD align=center>Total Received<TD align=center>FTP<TD align=center>HTTP<TD align=center>SMTP<TD align=center>TCP<TD align=center>UDP<TD align=center>ICMP\n");
  13. for (tCounter=0, Counter=0; Counter < NumIps; Counter++)
  14. {
  15. if (SubnetTable[SubnetCounter].ip == (SummaryData[Counter]->IP & SubnetTable[SubnetCounter].mask))