Skip to content

Commit

Permalink
Potential fix for the RT-N/AC VLAN page epic issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackysi committed Aug 16, 2016
1 parent 1a12bcc commit 1bda0c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions advanced-vlan.asp
Expand Up @@ -687,7 +687,9 @@ No part of this file may be used without permission.
(data[ COL_P4 ].toString() != '0') ? 'Yes' : '',
(data[ COL_P4T ].toString() != '0') ? 'On' : '',
(data[ COL_VID_DEF ].toString() != '0') ? '*' : '',
[ '', 'WAN', 'LAN (br0)', 'LAN1 (br1)', 'LAN2 (br2)', 'LAN3 (br3)', 'WAN2'/* MULTIWAN-BEGIN */, 'WAN3', 'WAN4'/* MULTIWAN-END */ ][ data[ COL_BRI ] - 1 ] ];
[ '', 'WAN', 'LAN (br0)', 'LAN1 (br1)', 'LAN2 (br2)', 'LAN3 (br3)', 'WAN2'
/* MULTIWAN-BEGIN */, 'WAN3', 'WAN4'/* MULTIWAN-END */
][ data[ COL_BRI ] - 1 ] ];
}
vlg.dataToFieldValues = function( data ) {
Expand Down Expand Up @@ -912,7 +914,7 @@ No part of this file may be used without permission.
/* MULTIWAN-BEGIN */
<input type="hidden" name="wan3_ifnameX">
<input type="hidden" name="wan4_ifnameX">
/* MULTIWAN-END
/* MULTIWAN-END */
<input type="hidden" name="lan_ifnames">
<input type="hidden" name="lan1_ifnames">
<input type="hidden" name="lan2_ifnames">
Expand Down

0 comments on commit 1bda0c3

Please sign in to comment.