mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 03:33:25 +02:00
Fixed qos device detection on connection type change.
This commit is contained in:
@@ -76,7 +76,7 @@ $qossettings{'ACK'} = '';
|
||||
$qossettings{'MTU'} = '1492';
|
||||
$qossettings{'SFQ_PERTUB'} = '10';
|
||||
$qossettings{'QLENGTH'} = '30';
|
||||
$qossettings{'RED_DEV'} = `cat /var/ipfire/red/iface`;
|
||||
$qossettings{'RED_DEV'} = 'ppp0';
|
||||
$qossettings{'IMQ_DEV'} = 'imq0';
|
||||
$qossettings{'VALID'} = 'yes';
|
||||
### Values that have to be initialized
|
||||
@@ -113,6 +113,8 @@ $qossettings{'TOS'} = '';
|
||||
&General::readhash("${General::swroot}/qos/settings", \%qossettings);
|
||||
&Header::getcgihash(\%qossettings);
|
||||
|
||||
$qossettings{'RED_DEV'} = `cat /var/ipfire/red/iface`;
|
||||
|
||||
my %color = ();
|
||||
my %mainsettings = ();
|
||||
&General::readhash("${General::swroot}/main/settings", \%mainsettings);
|
||||
|
||||
Reference in New Issue
Block a user