"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "processinetrc.c" between
netwatch-1.3.0-1.tgz and netwatch-1.3.1-2.tgz

About: NETWATCH views the Ethernet for hosts, packet counts, protocols and displays hosts activity.

processinetrc.c  (netwatch-1.3.0-1.tgz):processinetrc.c  (netwatch-1.3.1-2.tgz)
skipping to change at line 127 skipping to change at line 127
unsigned int hold[4]; unsigned int hold[4];
int ethere = 0; int ethere = 0;
int netmaskglobal = 0; int netmaskglobal = 0;
int ipglobal = 0; int ipglobal = 0;
int i; int i;
char *tok; char *tok;
int ipnext, netmasknext; int ipnext, netmasknext;
*ok = 0; *ok = 0;
if ((fp = fopen ("/proc/net/route", "r"))) if ((fp = fopen ("/proc/net/route", "r")))
{ {
processproc (fp, netmask, local, ok); processproc (fp, netmask, local, ok);
fclose (fp); fclose (fp);
return; return;
} }
fp = fopen (configfile, "r"); fp = fopen (configfile, "r");
if (fp == NULL) if (fp == NULL)
{ {
return; return;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS