diff --git a/src/etc/inc/util.inc b/src/etc/inc/util.inc index 5da7638ef..8d9b41b7e 100644 --- a/src/etc/inc/util.inc +++ b/src/etc/inc/util.inc @@ -639,16 +639,6 @@ function is_linklocal($ipaddr) return (strtolower(substr($ipaddr, 0, 5)) == "fe80:"); } -/* returns scope of a linklocal address */ -function get_ll_scope($addr) -{ - if (!is_linklocal($addr) || !strstr($addr, "%")) { - return ''; - } - list ($ll, $scope) = explode("%", $addr); - return $scope; -} - /* returns true if $ipaddr is a valid literal IPv6 address */ function is_literalipaddrv6($ipaddr) {