From 2d5fd3c23c570e054a0bbe3fadcbae9b008d9133 Mon Sep 17 00:00:00 2001 From: Ermal Date: Mon, 6 Oct 2014 08:22:10 +0000 Subject: Remove function that is not implemented properly. Nothing seems to use it. --- etc/inc/interfaces.inc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'etc/inc') diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 84caee2..488fb20 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -4491,13 +4491,6 @@ function find_number_of_created_carp_interfaces() { return `/sbin/ifconfig | grep "carp:" | wc -l`; } -function get_all_carp_interfaces() { - trigger_error("Broken function get_all_carp_interfaces() called. Remo", E_USER_NOTICE); - $ints = str_replace("\n", " ", `ifconfig | grep "carp:" -B2 | grep ": flag" | cut -d: -f1`); - $ints = explode(" ", $ints); - return $ints; -} - /* * find_carp_interface($ip): return the carp interface where an ip is defined */ -- cgit v1.1