From 5c6a2ef883af08db6db397f2db0ae56b8f195cde Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 14 Sep 2016 21:23:50 +0200 Subject: [PATCH] remove duplicate code in interfaces.inc --- src/etc/inc/interfaces.inc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index 67388b7cb..bc21cb90c 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -1950,10 +1950,6 @@ function interface_ipalias_configure(&$vip) return; } - if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']])) { - return; - } - if ($vip['interface'] != 'lo0' && !isset($config['interfaces'][$vip['interface']]['enable'])) { return; }