配置清理,增加vpn信息清理
dns欺骗增加一个初始化无策略-默认组-欺骗ip配置(存储+下发)
This commit is contained in:
@@ -213,6 +213,21 @@ function refreshCache(cacheName){
|
||||
}
|
||||
})
|
||||
}
|
||||
function initSpoofingIp(){
|
||||
$.ajax({
|
||||
type:'post',
|
||||
url:'${ctx}/cfg/dnsIp/initSpoofingIp',
|
||||
dataType:'text',
|
||||
async:false,
|
||||
success:function(data,textStatus){
|
||||
if(data=="success"){
|
||||
alert("success");
|
||||
}else{
|
||||
alert(data);
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<style type="text/css">
|
||||
.bodyhi{
|
||||
@@ -332,6 +347,9 @@ background:#3d3d3d;
|
||||
<li>
|
||||
<a href="javascript:refreshCache('asnNoCache')">refresh ASN no</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="javascript:initSpoofingIp()">Init Spoofing Ip</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</c:if>
|
||||
|
||||
Reference in New Issue
Block a user