diff options
author | Patrick McHardy <kaber@trash.net> | 2007-06-13 15:07:37 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-11 01:15:02 -0400 |
commit | a4bf3af4ac46802436d352ef409cee4fe80445b3 (patch) | |
tree | e03e7ceb21ff17d886485c9b137f8a47c1b58c56 /net/8021q/vlan.c | |
parent | b020cb488586f982f40eb257a32e92a4de710d65 (diff) |
[VLAN]: Introduce symbolic constants for flag values
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan.c')
-rw-r--r-- | net/8021q/vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index 5801993182b4..f12f914edf02 100644 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c | |||
@@ -565,7 +565,7 @@ static int register_vlan_device(struct net_device *real_dev, | |||
565 | VLAN_DEV_INFO(new_dev)->vlan_id = VLAN_ID; /* 1 through VLAN_VID_MASK */ | 565 | VLAN_DEV_INFO(new_dev)->vlan_id = VLAN_ID; /* 1 through VLAN_VID_MASK */ |
566 | VLAN_DEV_INFO(new_dev)->real_dev = real_dev; | 566 | VLAN_DEV_INFO(new_dev)->real_dev = real_dev; |
567 | VLAN_DEV_INFO(new_dev)->dent = NULL; | 567 | VLAN_DEV_INFO(new_dev)->dent = NULL; |
568 | VLAN_DEV_INFO(new_dev)->flags = 1; | 568 | VLAN_DEV_INFO(new_dev)->flags = VLAN_FLAG_REORDER_HDR; |
569 | 569 | ||
570 | err = register_vlan_dev(new_dev); | 570 | err = register_vlan_dev(new_dev); |
571 | if (err < 0) | 571 | if (err < 0) |