Commit 716b154c authored by Bart De Schuymer's avatar Bart De Schuymer Committed by David S. Miller

[EBTABLES]: Use vlan_hdr not vlan_ethhdr in ebt_vlan.c

parent 4e7caf86
...@@ -48,7 +48,7 @@ ebt_filter_vlan(const struct sk_buff *skb, ...@@ -48,7 +48,7 @@ ebt_filter_vlan(const struct sk_buff *skb,
const void *data, unsigned int datalen) const void *data, unsigned int datalen)
{ {
struct ebt_vlan_info *info = (struct ebt_vlan_info *) data; struct ebt_vlan_info *info = (struct ebt_vlan_info *) data;
struct vlan_ethhdr frame; struct vlan_hdr frame;
unsigned short TCI; /* Whole TCI, given from parsed frame */ unsigned short TCI; /* Whole TCI, given from parsed frame */
unsigned short id; /* VLAN ID, given from frame TCI */ unsigned short id; /* VLAN ID, given from frame TCI */
......
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