Commit 75dbf137 authored by Stephen Hemminger's avatar Stephen Hemminger

Add LLDP to ethernet type table

and make type table const.
parent 610b22a3
......@@ -30,7 +30,7 @@
#define __PF(f,n) { ETH_P_##f, #n },
static struct {
static const struct {
int id;
const char *name;
} llproto_names[] = {
......@@ -80,6 +80,7 @@ __PF(TIPC,tipc)
__PF(AOE,aoe)
{ 0x8100, "802.1Q" },
{ 0x88cc, "LLDP" },
{ ETH_P_IP, "ipv4" },
};
#undef __PF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment