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
6801b20c
Commit
6801b20c
authored
Jan 07, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: use the opportunity to scrub supurious ";;" spots
parent
15aaebc8
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
10 deletions
+10
-10
ipsec.inc
src/etc/inc/ipsec.inc
+1
-1
ApiControllerBase.php
...e/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php
+1
-1
firewall_nat_out_edit.php
src/www/firewall_nat_out_edit.php
+3
-3
index.php
src/www/index.php
+1
-1
services_ntpd.php
src/www/services_ntpd.php
+1
-1
system_authservers.php
src/www/system_authservers.php
+1
-1
system_certmanager.php
src/www/system_certmanager.php
+1
-1
system_general.php
src/www/system_general.php
+1
-1
No files found.
src/etc/inc/ipsec.inc
View file @
6801b20c
...
...
@@ -943,7 +943,7 @@ EOD;
$authentication
.=
"
\n\t
leftcert=
{
$certpath
}
/cert-
{
$ph1ent
[
'ikeid'
]
}
.crt"
;
}
if
(
!
empty
(
$ph1ent
[
'caref'
]))
{
$ca
=
lookup_ca
(
$ph1ent
[
'caref'
]);
;
$ca
=
lookup_ca
(
$ph1ent
[
'caref'
]);
if
(
!
empty
(
$ca
))
{
$rightca
=
""
;
foreach
(
cert_get_subject_array
(
$ca
[
'crt'
])
as
$ca_field
)
{
...
...
src/opnsense/mvc/app/controllers/OPNsense/Base/ApiControllerBase.php
View file @
6801b20c
...
...
@@ -210,6 +210,6 @@ class ApiControllerBase extends ControllerRoot
}
}
return
$this
->
response
->
send
();
;
return
$this
->
response
->
send
();
}
}
src/www/firewall_nat_out_edit.php
View file @
6801b20c
...
...
@@ -68,7 +68,7 @@ function formTranslateAddresses() {
// add Aliases
foreach
(
legacy_list_aliases
(
"network"
)
as
$alias
)
{
if
(
$alias
[
'type'
]
==
"host"
)
{
$retval
[
$alias
[
'name'
]]
=
$alias
[
'name'
];
;
$retval
[
$alias
[
'name'
]]
=
$alias
[
'name'
];
}
}
...
...
@@ -275,9 +275,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$natent
[
'destination'
][
'address'
]
=
trim
(
$pconfig
[
'destination'
])
;
}
else
{
if
(
is_ipaddrv6
(
$pconfig
[
'destination'
]))
{
$natent
[
'destination'
][
'address'
]
=
gen_subnetv6
(
trim
(
$pconfig
[
'destination'
]),
$pconfig
[
'destination_subnet'
])
.
"/"
.
$pconfig
[
'destination_subnet'
];
;
$natent
[
'destination'
][
'address'
]
=
gen_subnetv6
(
trim
(
$pconfig
[
'destination'
]),
$pconfig
[
'destination_subnet'
])
.
"/"
.
$pconfig
[
'destination_subnet'
];
}
else
{
$natent
[
'destination'
][
'address'
]
=
gen_subnet
(
trim
(
$pconfig
[
'destination'
]),
$pconfig
[
'destination_subnet'
])
.
"/"
.
$pconfig
[
'destination_subnet'
];
;
$natent
[
'destination'
][
'address'
]
=
gen_subnet
(
trim
(
$pconfig
[
'destination'
]),
$pconfig
[
'destination_subnet'
])
.
"/"
.
$pconfig
[
'destination_subnet'
];
}
}
...
...
src/www/index.php
View file @
6801b20c
...
...
@@ -278,7 +278,7 @@ include("fbegin.inc");?>
if
(
classname
.
indexOf
(
'col-md'
)
>
-
1
)
{
widget_col
.
removeClass
(
classname
);
}
});
;
});
widget_col
.
addClass
(
'col-md-'
+
(
12
/
$
(
"#column_count_input"
)
.
val
()));
});
});
...
...
src/www/services_ntpd.php
View file @
6801b20c
...
...
@@ -60,7 +60,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
// parse timeservers
$pconfig
[
'timeservers_host'
]
=
array
();
$pconfig
[
'timeservers_noselect'
]
=
array
();
$pconfig
[
'timeservers_prefer'
]
=
array
();
;
$pconfig
[
'timeservers_prefer'
]
=
array
();
if
(
!
empty
(
$config
[
'system'
][
'timeservers'
]))
{
$pconfig
[
'timeservers_noselect'
]
=
!
empty
(
$a_ntpd
[
'noselect'
])
?
explode
(
' '
,
$a_ntpd
[
'noselect'
])
:
array
();
$pconfig
[
'timeservers_prefer'
]
=
!
empty
(
$a_ntpd
[
'prefer'
])
?
explode
(
' '
,
$a_ntpd
[
'prefer'
])
:
array
();
...
...
src/www/system_authservers.php
View file @
6801b20c
...
...
@@ -744,7 +744,7 @@ $i = 0;
?>
<tr>
<td>
<?=
$server
[
'name'
]
?>
</td>
<td>
<?=
!
empty
(
$authCNFOptions
[
$server
[
'type'
]])
?
$authCNFOptions
[
$server
[
'type'
]][
'description'
]
:
""
;;
?>
</td>
<td>
<?=
!
empty
(
$authCNFOptions
[
$server
[
'type'
]])
?
$authCNFOptions
[
$server
[
'type'
]][
'description'
]
:
''
?>
</td>
<td>
<?=
$server
[
'host'
];
?>
</td>
<td>
<?php
if
(
$i
<
(
count
(
$a_server
)
-
1
))
:
...
...
src/www/system_certmanager.php
View file @
6801b20c
...
...
@@ -526,7 +526,7 @@ if (empty($act)) {
<body>
<style>
.monospace-dialog
{
font-family
:
monospace
;
;
font-family
:
monospace
;
white-space
:
pre
;
}
...
...
src/www/system_general.php
View file @
6801b20c
...
...
@@ -430,7 +430,7 @@ include("head.inc");
<tr>
<td><a
id=
"help_for_dnsservers_opt"
href=
"#"
class=
"showhelp"
><i
class=
"fa fa-info-circle"
></i></a>
<?=
gettext
(
"DNS server options"
);
?>
</td>
<td>
<input
name=
"dnsallowoverride"
type=
"checkbox"
value=
"yes"
<?=
$pconfig
[
'dnsallowoverride'
]
?
"checked=
\"
checked
\"
"
:
""
;
;
?>
/>
<input
name=
"dnsallowoverride"
type=
"checkbox"
value=
"yes"
<?=
$pconfig
[
'dnsallowoverride'
]
?
'checked="checked"'
:
''
?>
/>
<strong>
<?=
gettext
(
"Allow DNS server list to be overridden by DHCP/PPP on WAN"
);
?>
</strong>
...
...
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