Browse code

utils/protoshoot: fixed name and ticks

- version to 0.4

Daniel-Constantin Mierla authored on 06/01/2015 21:24:35
Showing 1 changed files
... ...
@@ -51,9 +51,9 @@
51 51
 
52 52
 
53 53
 static char *id="$Id$";
54
-static char *version="protoflood 0.3";
54
+static char *version="protoshoot 0.4";
55 55
 static char* help_msg="\
56
-Usage: udp_flood -f file -d address -p port -c count [-v]\n\
56
+Usage: protoshoot -f file -d address -p port -c count [-v]\n\
57 57
 Options:\n\
58 58
     -f file       file with the content of the udp packet (max 65k)\n\
59 59
     -d address    destination address\n\
... ...
@@ -200,12 +200,12 @@ int main (int argc, char** argv)
200 200
 				break;
201 201
 			case '?':
202 202
 				if (isprint(optopt))
203
-					fprintf(stderr, "Unknown option `-%c�\n", optopt);
203
+					fprintf(stderr, "Unknown option '-%c'\n", optopt);
204 204
 				else
205
-					fprintf(stderr, "Unknown character `\\x%x�\n", optopt);
205
+					fprintf(stderr, "Unknown character '\\x%x'\n", optopt);
206 206
 				goto error;
207 207
 			case ':':
208
-				fprintf(stderr, "Option `-%c� requires an argument.\n",
208
+				fprintf(stderr, "Option '-%c' requires an argument.\n",
209 209
 						optopt);
210 210
 				goto error;
211 211
 				break;