[Madwifi-cvs] madwifi/tools athstats.c,1.7.2.2,1.7.2.3
Status: Beta
Brought to you by:
otaku
From: Sebastian W. <to...@us...> - 2005-04-27 17:43:20
|
Update of /cvsroot/madwifi/madwifi/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7583 Modified Files: Tag: BSD athstats.c Log Message: - corrected input parameter check reported by: Sherwin Sim Index: athstats.c =================================================================== RCS file: /cvsroot/madwifi/madwifi/tools/athstats.c,v retrieving revision 1.7.2.2 retrieving revision 1.7.2.3 diff -C2 -d -r1.7.2.2 -r1.7.2.3 *** athstats.c 2 Mar 2005 17:26:27 -0000 1.7.2.2 --- athstats.c 27 Apr 2005 17:43:11 -0000 1.7.2.3 *************** *** 265,269 **** err(1, "socket"); if (argc > 1 && strcmp(argv[1], "-i") == 0) { ! if (argc < 2) { fprintf(stderr, "%s: missing interface name for -i\n", argv[0]); --- 265,269 ---- err(1, "socket"); if (argc > 1 && strcmp(argv[1], "-i") == 0) { ! if (argc < 3) { fprintf(stderr, "%s: missing interface name for -i\n", argv[0]); |