netsniff-ng: ctx: init and destruct methods for ctx
commit489e84be7639caeb246b2dbaccd2a6e9fda9d2a5
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 3 Jul 2013 19:26:44 +0000 (3 21:26 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Wed, 3 Jul 2013 19:26:44 +0000 (3 21:26 +0200)
tree0af25bab6256d0eb6d82f7ac72e8690aa956ac00
parenteaa0a2777dc29e5f701efbc037b303b52f3e08be
netsniff-ng: ctx: init and destruct methods for ctx

Refactor ctx initialization and destruction into separate handlers.
That is more clean.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
netsniff-ng.c