Only 30 Limiters Allowed??



  • Hi all:

    I am using the latest amd64 version 2.1 and I am trying to configure some limiters . I found that there is a limit of 30 limiters, when trying to add the 31st , it comes with an error  " you need at least one bw specification".

    I've checked the shaper.inc code and certainly its limited to 30 limiters :

    Line 3045  of shaper.inc

     for ($i = 0; $i < 30; $i++) {
                            if (!empty($data["bwsched{$i}"])) {
                                    if ($data["bwsched{$i}"] != "none")
                                            $schedule++;
                                    else
                                            $schedulenone++;
    

    https://github.com/pfsense/pfsense/blob/dda9c67f7f8fdc3401a0d3c7b885630d128e2fbb/etc/inc/shaper.inc#L3045

    Is this right?? Any advice on how to manage the situation when you want to use more than 30 limiters??

    Thanks



  • @jpalacio:

    Hi all:

    I am using the latest amd64 version 2.1 and I am trying to configure some limiters . I found that there is a limit of 30 limiters, when trying to add the 31st , it comes with an error  " you need at least one bw specification".

    I've checked the shaper.inc code and certainly its limited to 30 limiters :

    Line 3045  of shaper.inc

     for ($i = 0; $i < 30; $i++) {
                            if (!empty($data["bwsched{$i}"])) {
                                    if ($data["bwsched{$i}"] != "none")
                                            $schedule++;
                                    else
                                            $schedulenone++;
    

    https://github.com/pfsense/pfsense/blob/dda9c67f7f8fdc3401a0d3c7b885630d128e2fbb/etc/inc/shaper.inc#L3045

    Is this right?? Any advice on how to manage the situation when you want to use more than 30 limiters??

    Thanks

    No one???  :'( :'(


Log in to reply