pppsetup.cgi: add vdsl vlan setting also if igmpproxy is not present.
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 17 Mar 2011 21:43:55 +0000 (22:43 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Thu, 17 Mar 2011 21:43:55 +0000 (22:43 +0100)
config/rootfiles/core/48/filelists/files
html/cgi-bin/pppsetup.cgi

index 8c4ede3..4bff4f5 100644 (file)
@@ -1,2 +1,3 @@
 etc/system-release
 var/ipfire/backup/bin/backup.pl
+srv/web/ipfire/cgi-bin/pppsetup.cgi
index 4c7bb8c..6205d2f 100644 (file)
@@ -777,6 +777,15 @@ END
 ;
        }
        else {
+               if ($pppsettings{'TYPE'} eq 'vdsl') {
+print <<END
+                       <tr>
+                               <td>INET_VLAN</td>
+                               <td><input size=5 type='number' name='INET_VLAN' value='$pppsettings{'INET_VLAN'}' /></td>
+                       </tr>
+END
+;
+               }
        print "<tr><td colspan='4' width='100%'>No IPTV possible install addon igmpproxy</td></tr>";
        }
 }