diff --git a/route/static/app/firewall.js b/route/static/app/firewall.js
index 139b77300..4193b095a 100755
--- a/route/static/app/firewall.js
+++ b/route/static/app/firewall.js
@@ -303,7 +303,7 @@ function showAccept(page,search) {
" + status + " | \
" + data.data[i].addtime + " | \
" + data.data[i].ps + " | \
- 删除 | \
+ 删除 | \
";
}
$("#firewallBody").html(body);
@@ -353,7 +353,7 @@ function addAcceptPort(){
}
//删除放行
-function delAcceptPort(id, port) {
+function delAcceptPort(id, port,protocol) {
var action = "del_drop_address";
if(port.indexOf('.') == -1){
action = "del_accept_port";
@@ -361,7 +361,7 @@ function delAcceptPort(id, port) {
layer.confirm(lan.get('confirm_del',[port]), {title: '删除防火墙规则',closeBtn:2}, function(index) {
var loadT = layer.msg('正在删除,请稍候...',{icon:16,time:0,shade: [0.3, '#000']})
- $.post("/firewall/"+action, "id=" + id + "&port=" + port, function(ret) {
+ $.post("/firewall/"+action, "id=" + id + "&port=" + port+'&protocol'+protocol, function(ret) {
layer.close(loadT);
layer.msg(ret.msg,{icon:ret.status?1:2})
showAccept(1);