020-change-p2p-to-smtp.patch (1587B)
1 --- a/graph.c 2 +++ b/graph.c 3 @@ -274,7 +274,7 @@ void MakeIndexPages(int NumIps, struct S 4 5 // PASS 1: Write out the table 6 7 - 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"); 8 + 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"); 9 for (Counter=0; Counter < 21 && Counter < NumIps; Counter++) 10 PrintTableLine(file, SummaryData[Counter], Counter); 11 12 @@ -341,7 +341,7 @@ void MakeIndexPages(int NumIps, struct S 13 14 // PASS 1: Write out the table 15 16 - 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"); 17 + 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"); 18 for (tCounter=0, Counter=0; Counter < NumIps; Counter++) 19 { 20 if (SubnetTable[SubnetCounter].ip == (SummaryData[Counter]->IP & SubnetTable[SubnetCounter].mask))