mz: Dont bind to dev if help was specified
commitce75021f844084bf1c3105bd2478a13dc96a12a1
authorVadim Kochan <vadim4j@gmail.com>
Fri, 20 Feb 2015 15:49:27 +0000 (20 16:49 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Fri, 20 Feb 2015 15:49:27 +0000 (20 16:49 +0100)
treed4cb357240f64d35b3aeba15d32137333bb96bed
parentdb20fa00ca9880e6e661befee92e19194fa5e69a
mz: Dont bind to dev if help was specified

Fixed warnings:
    Warning: [lookupdev.c get_dev_params()]  Cannot open socket!

when specify help for packet type:
    # mz -t tcp help

Also fixes delayed output of the same command if user is root.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
staging/mausezahn.c