diff options
author | sullrich <sullrich@pfsense.org> | 2009-11-27 16:24:46 -0500 |
---|---|---|
committer | sullrich <sullrich@pfsense.org> | 2009-11-27 16:24:46 -0500 |
commit | 64fba8ec93fa47d284483e6da6a1989d6dd46ce6 (patch) | |
tree | 133d74487fe1123ef1d547354046f392ba776a94 /etc/inc | |
parent | 4195c967cc25eefa2c1c5bc889788eacb4531fbd (diff) | |
download | pfsense-64fba8ec93fa47d284483e6da6a1989d6dd46ce6.zip pfsense-64fba8ec93fa47d284483e6da6a1989d6dd46ce6.tar.gz |
Do not show LICENSE in the list of shaper patterns. Resolves #171
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/shaper.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index eac8783..fc6718c 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3608,6 +3608,8 @@ 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) $protocols[$key] =& str_replace(".pat", "", $proto); } |