diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-02-03 13:39:49 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2018-02-03 13:39:49 +0000 |
commit | 2152210f4fda57812f2a534e1e227dbc4cd64301 (patch) | |
tree | 2613b4a9bc5bb7fb2e9e452843f4b8c2ec3d007b /usr.sbin/tcpdump/tcpdump.c | |
parent | 8805f2fa766becf4dbfef99c216b1b1d57056023 (diff) |
Simple USBPcap parser for tcpdump(8). Raw dumps can be nicely analysed
in wireshark.
ok deraadt@, dlg@
Diffstat (limited to 'usr.sbin/tcpdump/tcpdump.c')
-rw-r--r-- | usr.sbin/tcpdump/tcpdump.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/tcpdump/tcpdump.c b/usr.sbin/tcpdump/tcpdump.c index 378d1574edb..c40a8f4ed37 100644 --- a/usr.sbin/tcpdump/tcpdump.c +++ b/usr.sbin/tcpdump/tcpdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcpdump.c,v 1.81 2017/12/08 17:04:15 deraadt Exp $ */ +/* $OpenBSD: tcpdump.c,v 1.82 2018/02/03 13:39:48 mpi Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -127,6 +127,7 @@ static struct printer printers[] = { { ieee802_11_if_print, DLT_IEEE802_11 }, { ieee802_11_radio_if_print, DLT_IEEE802_11_RADIO }, { ofp_if_print, DLT_OPENFLOW }, + { usbpcap_if_print, DLT_USBPCAP }, { NULL, 0 }, }; |