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
16348d26
Commit
16348d26
authored
May 24, 2016
by
Ad Schellevis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(firewall, ui) remove IPV6 as valid protocol selection
parent
d089441b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
firewall_nat_edit.php
src/www/firewall_nat_edit.php
+1
-1
firewall_nat_out_edit.php
src/www/firewall_nat_out_edit.php
+1
-1
firewall_rules_edit.php
src/www/firewall_rules_edit.php
+1
-1
No files found.
src/www/firewall_nat_edit.php
View file @
16348d26
...
...
@@ -618,7 +618,7 @@ $( document ).ready(function() {
<td>
<div
class=
"input-group"
>
<select
id=
"proto"
name=
"protocol"
class=
"selectpicker"
data-live-search=
"true"
data-size=
"5"
data-width=
"auto"
>
<?php
foreach
(
explode
(
" "
,
"TCP UDP TCP/UDP ICMP ESP AH GRE I
PV6 I
GMP PIM OSPF"
)
as
$proto
)
:
<?php
foreach
(
explode
(
" "
,
"TCP UDP TCP/UDP ICMP ESP AH GRE IGMP PIM OSPF"
)
as
$proto
)
:
?>
<option
value=
"
<?=
strtolower
(
$proto
);
?>
"
<?=
strtolower
(
$proto
)
==
$pconfig
[
'protocol'
]
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<?=
$proto
;
?>
...
...
src/www/firewall_nat_out_edit.php
View file @
16348d26
...
...
@@ -444,7 +444,7 @@ include("head.inc");
<td>
<div
class=
"input-group"
>
<select
id=
"proto"
name=
"protocol"
class=
"selectpicker"
data-live-search=
"true"
data-size=
"5"
data-width=
"auto"
>
<?php
foreach
(
array
(
"any"
=>
gettext
(
"any"
),
"TCP"
=>
gettext
(
"TCP"
),
"UDP"
=>
gettext
(
"UDP"
),
"TCP/UDP"
=>
gettext
(
"TCP/UDP"
),
"ICMP"
=>
gettext
(
"ICMP"
),
"ESP"
=>
gettext
(
"ESP"
),
"AH"
=>
gettext
(
"AH"
),
"GRE"
=>
gettext
(
"GRE"
),
"I
PV6"
=>
gettext
(
"IPV6"
),
"I
GMP"
=>
gettext
(
"IGMP"
),
"PIM"
=>
gettext
(
"PIM"
),
" OSPF"
=>
gettext
(
"OSPF"
))
as
$proto
=>
$proto_translated
)
:
<?php
foreach
(
array
(
"any"
=>
gettext
(
"any"
),
"TCP"
=>
gettext
(
"TCP"
),
"UDP"
=>
gettext
(
"UDP"
),
"TCP/UDP"
=>
gettext
(
"TCP/UDP"
),
"ICMP"
=>
gettext
(
"ICMP"
),
"ESP"
=>
gettext
(
"ESP"
),
"AH"
=>
gettext
(
"AH"
),
"GRE"
=>
gettext
(
"GRE"
),
"IGMP"
=>
gettext
(
"IGMP"
),
"PIM"
=>
gettext
(
"PIM"
),
" OSPF"
=>
gettext
(
"OSPF"
))
as
$proto
=>
$proto_translated
)
:
?>
<option
value=
"
<?=
strtolower
(
$proto
);
?>
"
<?=
strtolower
(
$proto
)
==
$pconfig
[
'protocol'
]
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<?=
$proto_translated
?>
</option>
<?php
endforeach
;
?>
...
...
src/www/firewall_rules_edit.php
View file @
16348d26
...
...
@@ -837,7 +837,7 @@ include("head.inc");
<td>
<select
<?=
!
empty
(
$pconfig
[
'associated-rule-id'
])
?
"disabled"
:
""
;
?>
name=
"protocol"
id=
"proto"
class=
"selectpicker"
data-live-search=
"true"
data-size=
"5"
>
<?php
$protocols
=
explode
(
" "
,
"any TCP UDP TCP/UDP ICMP ESP AH GRE I
PV6 I
GMP PIM OSPF carp pfsync"
);
$protocols
=
explode
(
" "
,
"any TCP UDP TCP/UDP ICMP ESP AH GRE IGMP PIM OSPF carp pfsync"
);
foreach
(
$protocols
as
$proto
)
:
?>
<option
value=
"
<?=
strtolower
(
$proto
);
?>
"
<?=
strtolower
(
$proto
)
==
$pconfig
[
'protocol'
]
?
"selected=
\"
selected
\"
"
:
""
;
?>
>
<?=
$proto
;
?>
...
...
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