Skip to content

Commit

Permalink
firewall: move any to front of the list
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed May 18, 2016
1 parent 7aa0cd1 commit cc9cede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/www/firewall_rules_edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@ function is_posnumericint($arg) {
<td>
<select <?=!empty($pconfig['associated-rule-id']) ? "disabled" : "";?> name="protocol" id="proto" class="selectpicker" data-live-search="true" data-size="5" >
<?php
$protocols = explode(" ", "TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP PIM OSPF any carp pfsync");
$protocols = explode(" ", "any TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP PIM OSPF carp pfsync");
foreach ($protocols as $proto): ?>
<option value="<?=strtolower($proto);?>" <?= strtolower($proto) == $pconfig['protocol'] ? "selected=\"selected\"" :""; ?>>
<?=$proto;?>
Expand Down

0 comments on commit cc9cede

Please sign in to comment.