Commit e4a653dc authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

remove duplicate checks in interfaces.inc

(cherry picked from commit 5ad7adc6)
parent 042941cd
...@@ -2990,10 +2990,6 @@ function interface_track6_6rd_configure($interface = 'lan', $lancfg) ...@@ -2990,10 +2990,6 @@ function interface_track6_6rd_configure($interface = 'lan', $lancfg)
{ {
global $config; global $config;
if (!is_array($lancfg)) {
return;
}
/* If the interface is not configured via another, exit */ /* If the interface is not configured via another, exit */
if (empty($lancfg['track6-interface'])) { if (empty($lancfg['track6-interface'])) {
return; return;
...@@ -3051,10 +3047,6 @@ function interface_track6_6to4_configure($interface = 'lan', $lancfg) ...@@ -3051,10 +3047,6 @@ function interface_track6_6to4_configure($interface = 'lan', $lancfg)
{ {
global $config; global $config;
if (!is_array($lancfg)) {
return;
}
/* If the interface is not configured via another, exit */ /* If the interface is not configured via another, exit */
if (empty($lancfg['track6-interface'])) { if (empty($lancfg['track6-interface'])) {
return; return;
......
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