diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-28 20:53:48 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-01-31 23:43:36 +0100 |
commit | 89cc69c1d6a3ca6c5818690509af1dbec4319f99 (patch) | |
tree | a5b077d47e4fd6dc125818eb2772f80dd24b4e71 /tests/py/bridge/vlan.t | |
parent | c177581efa78cce6384e306a2f2ee4b057ef6635 (diff) |
proto: proto_dev_type() returns interface type for base protocols too
The device protocol definition provides a mapping between the interface
type, ie. ARPHDR_*, and the overlying protocol base definition, eg.
proto_eth.
This patch updates proto_dev_type() so it also returns a mapping for
these overlying ethernet protocol definitions, ie. ip, ip6, vlan, ip,
arp.
This patch required to resolve problems with automatic dependency
generation for vlan in the netdev and inet families.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/py/bridge/vlan.t')
0 files changed, 0 insertions, 0 deletions