Project

General

Profile

Bug #2762 » firewall_rules_edit.diff

Christian Felsing, 08/04/2015 03:23 AM

View differences:

firewall_rules_edit.php 2015-08-04 10:15:29.000000000 +0200
<td width="78%" class="vtable">
<select <?=$edit_disabled;?> name="proto" class="formselect" onchange="proto_change()">
<?php
$protocols = explode(" ", "TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 IGMP PIM OSPF SCTP any carp pfsync");
$protocols = explode(" ", "TCP UDP TCP/UDP ICMP ESP AH GRE IPV6 ipv6-frag IGMP PIM OSPF SCTP any carp pfsync");
foreach ($protocols as $proto): ?>
<option value="<?=strtolower($proto);?>" <?php if (strtolower($proto) == $pconfig['proto']) echo "selected=\"selected\""; ?>><?=htmlspecialchars($proto);?></option>
<?php endforeach; ?>
(2-2/2)