Skip to content

Commit

Permalink
Release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jelu committed Feb 23, 2017
1 parent 2417802 commit 85772dd
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
2017-02-23 Jerry Lundström

Release 1.0.0 - dropping all your packets since 2017

b928138 Add Travis-CI
8b4d073 Recv UDP/TCP
d40d711 Impl
0ca1b6c Initial commit
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ MAINTAINERCLEANFILES = $(srcdir)/Makefile.in \

SUBDIRS = src

dist_doc_DATA = README.md LICENSE
dist_doc_DATA = CHANGES README.md LICENSE

EXTRA_DIST = m4

Expand Down
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
# dumdumd

[![Build Status](https://travis-ci.org/DNS-OARC/dumdumd.svg?branch=develop)](https://travis-ci.org/DNS-OARC/dumdumd) [![Coverity Scan Build Status](https://scan.coverity.com/projects/11854/badge.svg)](https://scan.coverity.com/projects/dns-oarc-dumdumd)

High performance UDP/TCP server that... just drops everything you send to it

## Requirements

- libev

## Build

```
sh autogen.sh
./configure
make
```

## Usage

```
src/dumdumd -h
```

## Author(s)

Jerry Lundström <[email protected]>
Expand Down
9 changes: 7 additions & 2 deletions src/dumdumd.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ static void usage(void) {
" Using both UDP and TCP if none of the above options are used\n"
" -A Use SO_REUSEADDR on sockets\n"
" -R Use SO_REUSEPORT on sockets\n"
" -h Print this help and exit\n",
" -h Print this help and exit\n"
" -V Print version and exit\n",
program_name
);
}
Expand Down Expand Up @@ -161,7 +162,7 @@ int main(int argc, char* argv[]) {
program_name = argv[0];
}

while ((opt = getopt(argc, argv, "utARh")) != -1) {
while ((opt = getopt(argc, argv, "utARhV")) != -1) {
switch (opt) {
case 'u':
use_udp = 1;
Expand All @@ -183,6 +184,10 @@ int main(int argc, char* argv[]) {
usage();
return 0;

case 'V':
version();
return 0;

default:
usage();
return 2;
Expand Down

0 comments on commit 85772dd

Please sign in to comment.