summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-07-19 04:51:31 +0000
committerdlg <dlg@openbsd.org>2019-07-19 04:51:31 +0000
commitcc70cfc7595d0726a8624954819cfdf83d282deb (patch)
tree3c188fdcceceb92ecc945e8c793d58e07abb1d50 /lib
parentdefault (ie, reset) the partner info when a ports link goes down. (diff)
downloadwireguard-openbsd-cc70cfc7595d0726a8624954819cfdf83d282deb.tar.xz
wireguard-openbsd-cc70cfc7595d0726a8624954819cfdf83d282deb.zip
add "slow" to the list of ethernet protocol names.
this allows "tcpdump ether proto slow", which makes looking at lacp frames a bit easier.
Diffstat (limited to 'lib')
-rw-r--r--lib/libpcap/nametoaddr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpcap/nametoaddr.c b/lib/libpcap/nametoaddr.c
index 2c506375957..a94b0656412 100644
--- a/lib/libpcap/nametoaddr.c
+++ b/lib/libpcap/nametoaddr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nametoaddr.c,v 1.21 2016/12/02 02:37:30 dlg Exp $ */
+/* $OpenBSD: nametoaddr.c,v 1.22 2019/07/19 04:51:31 dlg Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996
@@ -203,6 +203,7 @@ static const struct eproto _eproto_db[] = {
{ "arp", ETHERTYPE_ARP },
{ "rarp", ETHERTYPE_REVARP },
{ "lldp", ETHERTYPE_LLDP },
+ { "slow", ETHERTYPE_SLOW },
{ "sprite", ETHERTYPE_SPRITE },
{ "mopdl", ETHERTYPE_MOPDL },
{ "moprc", ETHERTYPE_MOPRC },