Permalink
Browse files

firewall: move any to front of the list

  • Loading branch information...
fichtner committed May 18, 2016
1 parent 7aa0cd1 commit cc9cede6d8e55e16c868cb30ba6c2c6d7042bca2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/www/firewall_rules_edit.php
@@ -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;?>

0 comments on commit cc9cede

Please sign in to comment.