Commit 06bc0ac3 authored by Franco Fichtner's avatar Franco Fichtner

inc: zap an unused function

parent d1990820
......@@ -25,6 +25,7 @@
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
require_once("IPv6.inc");
function killbyname($procname, $sig = 'TERM')
......@@ -565,11 +566,6 @@ function group_ports($ports) {
return $result;
}
/* returns true if $val is a valid shaper bandwidth value */
function is_valid_shaperbw($val) {
return (preg_match("/^(\d+(?:\.\d+)?)([MKG]?b|%)$/", $val));
}
/* returns true if $test is in the range between $start and $end */
function is_inrange_v4($test, $start, $end) {
if ( (ip2ulong($test) <= ip2ulong($end)) && (ip2ulong($test) >= ip2ulong($start)) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment