2
0
forked from Ivasoft/openwrt

unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range.

SVN-Revision: 23419
This commit is contained in:
Jo-Philipp Wich
2010-10-12 20:49:35 +00:00
parent 64d3505a2a
commit 352fea83d9
4 changed files with 7 additions and 7 deletions

View File

@@ -149,8 +149,8 @@ static struct switch_attr psb6970_port[] = {
static struct switch_attr psb6970_vlan[] = {
{
.type = SWITCH_TYPE_INT,
.name = "pvid",
.description = "VLAN ID",
.name = "vid",
.description = "VLAN ID (0-4094)",
.set = psb6970_set_vid,
.get = psb6970_get_vid,
.max = 4094,