Module: sip-router Branch: master Commit: 8c41c5f0f0786b9ef948e2b271d676f88c2e7172 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8c41c5f0...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Mon Jan 23 22:37:45 2012 +0100
utils/protoshoot: set default values for addr, port and count
- respectively 127.0.0.1, 5060, 1
---
utils/protoshoot/protoshoot.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/utils/protoshoot/protoshoot.c b/utils/protoshoot/protoshoot.c index fa6ba4c..577ee9a 100644 --- a/utils/protoshoot/protoshoot.c +++ b/utils/protoshoot/protoshoot.c @@ -51,7 +51,7 @@
static char *id="$Id$"; -static char *version="udp_flood 0.2"; +static char *version="protoflood 0.3"; static char* help_msg="\ Usage: udp_flood -f file -d address -p port -c count [-v]\n\ Options:\n\ @@ -106,11 +106,11 @@ int main (int argc, char** argv) int err; /* init */ - count=0; + count=1; verbose=0; fname=0; - dst=0; - port=0; + dst="127.0.0.1"; + port=5060; usec=0; throttle=0; random_sleep=0;