mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
remove duplicate checks in interfaces.inc
This commit is contained in:
parent
0db74efff4
commit
5ad7adc60a
@ -2988,10 +2988,6 @@ function interface_track6_6rd_configure($interface = 'lan', $lancfg)
|
||||
{
|
||||
global $config;
|
||||
|
||||
if (!is_array($lancfg)) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* If the interface is not configured via another, exit */
|
||||
if (empty($lancfg['track6-interface'])) {
|
||||
return;
|
||||
@ -3049,10 +3045,6 @@ function interface_track6_6to4_configure($interface = 'lan', $lancfg)
|
||||
{
|
||||
global $config;
|
||||
|
||||
if (!is_array($lancfg)) {
|
||||
return;
|
||||
}
|
||||
|
||||
/* If the interface is not configured via another, exit */
|
||||
if (empty($lancfg['track6-interface'])) {
|
||||
return;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user