"Fossies" - the Fresh Open Source Software Archive  

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

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

vnstat.c  (vnstat-2.8):vnstat.c  (vnstat-2.9)
/* /*
vnStat - Copyright (C) 2002-2021 Teemu Toivola <tst@iki.fi> vnStat - Copyright (C) 2002-2022 Teemu Toivola <tst@iki.fi>
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991. the Free Software Foundation; version 2 dated June, 1991.
This program is distributed in the hope that it will be useful, This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
skipping to change at line 107 skipping to change at line 107
printf("Use --help for help.\n"); printf("Use --help for help.\n");
} }
return 1; return 1;
} }
} }
/* set used interface if none specified */ /* set used interface if none specified */
handleifselection(&p); handleifselection(&p);
/* parameter handlers */ /* parameter handlers */
handleshowalert(&p);
handleremoveinterface(&p); handleremoveinterface(&p);
handlerenameinterface(&p); handlerenameinterface(&p);
handleaddinterface(&p); handleaddinterface(&p);
handlesetalias(&p); handlesetalias(&p);
handleshowdata(&p); handleshowdata(&p);
handletrafficmeters(&p); handletrafficmeters(&p);
/* show something if nothing was shown previously */ /* show something if nothing was shown previously */
if (!p.query && !p.traffic && !p.livetraffic) { if (!p.query && !p.traffic && !p.livetraffic) {
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

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