Skip to content

Commit

Permalink
carry descriptions for relevant IFT_ types only
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowman committed May 30, 2016
1 parent 0d13eab commit 1ae3006
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions if.c
Expand Up @@ -64,14 +64,12 @@ static const struct {
{ "pflow Accounting Data", IFT_PFLOW },
{ "IPsec Encapsulation", IFT_ENC },
{ "Generic Tunnel", IFT_GIF },
{ "IPv6-IPv4 TCP relay", IFT_FAITH },
{ "Ethernet Bridge", IFT_BRIDGE },
{ "Common Address Redundancy Protocol", IFT_CARP },
{ "Bluetooth", IFT_BLUETOOTH },
/* IANA-assigned types */
{ "ATM Logical", IFT_ATMLOGICAL },
{ "ATM Virtual", IFT_ATMVIRTUAL },
{ "ATM", IFT_ATM },
{ "Ethernet", IFT_ETHER },
{ "USB", IFT_USB },
{ "Transparent bridge", IFT_BRIDGE },
{ "HDLC", IFT_HDLC },
{ "IEEE 802.1Q", IFT_L2VLAN },
{ "Virtual", IFT_PROPVIRTUAL },
Expand All @@ -80,10 +78,6 @@ static const struct {
{ "IEEE 802.3ad Link Aggregate", IFT_IEEE8023ADLAG },
{ "PPP", IFT_PPP },
{ "Loopback", IFT_LOOP },
{ "ISDN BRI", IFT_ISDNBASIC },
{ "ISDN PRI", IFT_ISDNPRIMARY },
{ "V.35", IFT_V35 },
{ "HSSI", IFT_HSSI },
{ "Network Tunnel", IFT_TUNNEL },
{ "Coffee Pot", IFT_COFFEE },
{ "IEEE 802.11", IFT_IEEE80211 },
Expand Down

0 comments on commit 1ae3006

Please sign in to comment.