dissector: print hex_ascii combination in unkown linktypes
commitfce8544c7e93b1001784e7e3607f4ef0eae56bee
authorDaniel Borkmann <dborkman@redhat.com>
Wed, 10 Jul 2013 14:30:03 +0000 (10 16:30 +0200)
committerDaniel Borkmann <dborkman@redhat.com>
Wed, 10 Jul 2013 14:30:03 +0000 (10 16:30 +0200)
tree7bd875d53e42bbba4bbc5a070e7c486c63e7a363
parent2a646423bd0cab7017bbe1ad4911dc672a230160
dissector: print hex_ascii combination in unkown linktypes

Commit f5c10ae4e3 ("dissector: do not panic on unknown hatype") let
netsniff-ng not panic anymore on unkown ha types, but without explicitly
starting netsniff-ng in hex or ascii printing mode, no dissection
will happen.

This patch fixes this situation so that at least ascii_hex() will be
called in case the link type is not known to us.

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