mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-27 10:50:10 +03:00
Feature #3175: Do not send icmp_type for 'all' value
This commit is contained in:
parent
d4b42ca9f3
commit
0d9e1d544d
@ -99,7 +99,11 @@ function initialize_create_security_group_dialog(dialog){
|
||||
}
|
||||
|
||||
if (rule["PROTOCOL"] == "ICMP" ){
|
||||
rule["ICMP_TYPE"] = $(".security_group_rule_icmp_type", dialog).val();
|
||||
var icmp_type_val = $(".security_group_rule_icmp_type", dialog).val();
|
||||
|
||||
if (icmp_type_val != ""){
|
||||
rule["ICMP_TYPE"] = icmp_type_val;
|
||||
}
|
||||
}
|
||||
|
||||
var text = sg_rule_to_st(rule);
|
||||
|
Loading…
x
Reference in New Issue
Block a user