Project

General

Profile

Feature #3477 ยป firewall_rules_edit.php.diff

Andrea Tuccia, 02/20/2014 03:02 PM

View differences:

firewall_rules_edit.php.orig 2014-02-20 21:53:45.000000000 +0100
897 897
                       <td width="78%" class="vtable">
898 898
                               <select <?=$edit_disabled;?> name="proto" class="formselect" onchange="proto_change()">
899 899
<?php
900
                               $protocols = explode(" ", "TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP PIM OSPF any carp pfsync");
900
                               $protocols = explode(" ", "TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP OSPF any carp pfsync");
901 901
                               foreach ($protocols as $proto): ?>
902 902
                                       <option value="<?=strtolower($proto);?>" <?php if (strtolower($proto) == $pconfig['proto']) echo "selected=\"selected\""; ?>><?=htmlspecialchars($proto);?></option>
903 903
<?php                  endforeach; ?>
    (1-1/1)