diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-07-10 16:30:03 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-07-10 16:30:03 +0200 |
commit | fce8544c7e93b1001784e7e3607f4ef0eae56bee (patch) | |
tree | 7bd875d53e42bbba4bbc5a070e7c486c63e7a363 /promisc.c | |
parent | 2a646423bd0cab7017bbe1ad4911dc672a230160 (diff) |
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>
Diffstat (limited to 'promisc.c')
0 files changed, 0 insertions, 0 deletions