Module: kamailio
Branch: master
Commit: 72a616f074f554dfb177ca8ec2b55f9ff11ad352
URL:
https://github.com/kamailio/kamailio/commit/72a616f074f554dfb177ca8ec2b55f9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-01-06T22:25:06+01:00
utils/protoshoot: fixed name and ticks
- version to 0.4
---
Modified: utils/protoshoot/protoshoot.c
---
Diff:
https://github.com/kamailio/kamailio/commit/72a616f074f554dfb177ca8ec2b55f9…
Patch:
https://github.com/kamailio/kamailio/commit/72a616f074f554dfb177ca8ec2b55f9…
---
diff --git a/utils/protoshoot/protoshoot.c b/utils/protoshoot/protoshoot.c
index 4214d07..352e101 100644
--- a/utils/protoshoot/protoshoot.c
+++ b/utils/protoshoot/protoshoot.c
@@ -51,9 +51,9 @@
static char *id="$Id$";
-static char *version="protoflood 0.3";
+static char *version="protoshoot 0.4";
static char* help_msg="\
-Usage: udp_flood -f file -d address -p port -c count [-v]\n\
+Usage: protoshoot -f file -d address -p port -c count [-v]\n\
Options:\n\
-f file file with the content of the udp packet (max 65k)\n\
-d address destination address\n\
@@ -200,12 +200,12 @@ int main (int argc, char** argv)
break;
case '?':
if (isprint(optopt))
- fprintf(stderr, "Unknown option `-%cŽ\n", optopt);
+ fprintf(stderr, "Unknown option '-%c'\n", optopt);
else
- fprintf(stderr, "Unknown character `\\x%xŽ\n", optopt);
+ fprintf(stderr, "Unknown character '\\x%x'\n", optopt);
goto error;
case ':':
- fprintf(stderr, "Option `-%cŽ requires an argument.\n",
+ fprintf(stderr, "Option '-%c' requires an argument.\n",
optopt);
goto error;
break;