"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/vnstat.c" between
vnstat-2.7.tar.gz and vnstat-2.8.tar.gz

About: vnStat is a console-based network traffic monitor (using the /proc filesystem).

vnstat.c  (vnstat-2.7):vnstat.c  (vnstat-2.8)
skipping to change at line 55 skipping to change at line 55
currentarg++; currentarg++;
} else { } else {
printf("Error: File for --config missing. \n"); printf("Error: File for --config missing. \n");
return 1; return 1;
} }
} }
} }
} }
/* load config if available */ /* load config if available */
if (!loadcfg(p.cfgfile)) { if (!loadcfg(p.cfgfile, CT_CLI)) {
return 1; return 1;
} }
if (!ibwloadcfg(p.cfgfile)) { if (!ibwloadcfg(p.cfgfile)) {
return 1; return 1;
} }
configlocale(); configlocale();
strncpy_nt(p.interface, "default", 32); strncpy_nt(p.interface, "default", 32);
strncpy_nt(p.definterface, cfg.iface, 32); strncpy_nt(p.definterface, cfg.iface, 32);
strncpy_nt(p.alias, "none", 32); strncpy_nt(p.alias, "none", 32);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)