diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/shaper.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index fc6718c..1ada974 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3608,9 +3608,7 @@ function generate_protocols_array() { $protocols = return_dir_as_array("/usr/local/share/protocols"); if(is_array($protocols)) { foreach($protocols as $key => $proto) { - if($proto == "LICENSE") - continue; - if (strstr($proto, ".pat") != false) + if (strstr($proto, ".pat")) $protocols[$key] =& str_replace(".pat", "", $proto); } sort($protocols); |