Commit 5ad7adc6 authored by Ad Schellevis's avatar Ad Schellevis

remove duplicate checks in interfaces.inc

parent 0db74eff
...@@ -2988,10 +2988,6 @@ function interface_track6_6rd_configure($interface = 'lan', $lancfg) ...@@ -2988,10 +2988,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;
...@@ -3049,10 +3045,6 @@ function interface_track6_6to4_configure($interface = 'lan', $lancfg) ...@@ -3049,10 +3045,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