Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
4e929dab
Commit
4e929dab
authored
Mar 25, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: dirty dirty whitespaces
parent
d7a3e5a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
firewall_aliases.php
src/www/firewall_aliases.php
+3
-2
firewall_aliases_import.php
src/www/firewall_aliases_import.php
+3
-2
No files found.
src/www/firewall_aliases.php
View file @
4e929dab
<?php
<?php
/*
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2004 Scott Ullrich
Copyright (C) 2004 Scott Ullrich
...
@@ -32,8 +33,8 @@ require_once("functions.inc");
...
@@ -32,8 +33,8 @@ require_once("functions.inc");
require_once
(
"filter.inc"
);
require_once
(
"filter.inc"
);
require_once
(
"shaper.inc"
);
require_once
(
"shaper.inc"
);
if
(
!
is_array
(
$config
[
'aliases'
]))
{
if
(
!
is_array
(
$config
[
'aliases'
]))
{
$config
[
'aliases'
]
=
array
()
;
$config
[
'aliases'
]
=
array
();
}
}
if
(
!
is_array
(
$config
[
'aliases'
][
'alias'
]))
if
(
!
is_array
(
$config
[
'aliases'
][
'alias'
]))
...
...
src/www/firewall_aliases_import.php
View file @
4e929dab
<?php
<?php
/*
/*
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2014 Deciso B.V.
Copyright (C) 2005 Scott Ullrich
Copyright (C) 2005 Scott Ullrich
...
@@ -46,10 +47,10 @@ if (is_array($config['load_balancer']['lbpool']))
...
@@ -46,10 +47,10 @@ if (is_array($config['load_balancer']['lbpool']))
$reserved_ifs
=
get_configured_interface_list
(
false
,
true
);
$reserved_ifs
=
get_configured_interface_list
(
false
,
true
);
$reserved_keywords
=
array_merge
(
$reserved_keywords
,
$reserved_ifs
,
$reserved_table_names
);
$reserved_keywords
=
array_merge
(
$reserved_keywords
,
$reserved_ifs
,
$reserved_table_names
);
if
(
!
is_array
(
$config
[
'aliases'
])){
if
(
!
is_array
(
$config
[
'aliases'
]))
{
$config
[
'aliases'
]
=
array
();
$config
[
'aliases'
]
=
array
();
}
}
if
(
!
is_array
(
$config
[
'aliases'
][
'alias'
]))
if
(
!
is_array
(
$config
[
'aliases'
][
'alias'
]))
$config
[
'aliases'
][
'alias'
]
=
array
();
$config
[
'aliases'
][
'alias'
]
=
array
();
$a_aliases
=
&
$config
[
'aliases'
][
'alias'
];
$a_aliases
=
&
$config
[
'aliases'
][
'alias'
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment