Merge pull request #1073 from italorossi/master
[core] Exclude RFC-6598 CGNAT private space from wan.auto acl
This commit is contained in:
commit
376518c9ec
|
@ -1485,6 +1485,7 @@ SWITCH_DECLARE(void) switch_load_network_lists(switch_bool_t reload)
|
|||
switch_network_list_add_cidr(rfc_list, "172.16.0.0/12", SWITCH_FALSE);
|
||||
switch_network_list_add_cidr(rfc_list, "192.168.0.0/16", SWITCH_FALSE);
|
||||
switch_network_list_add_cidr(rfc_list, "169.254.0.0/16", SWITCH_FALSE);
|
||||
switch_network_list_add_cidr(rfc_list, "100.64.0.0/10", SWITCH_FALSE);
|
||||
switch_network_list_add_cidr(rfc_list, "fe80::/10", SWITCH_FALSE);
|
||||
switch_core_hash_insert(IP_LIST.hash, tmp_name, rfc_list);
|
||||
|
||||
|
@ -1504,6 +1505,7 @@ SWITCH_DECLARE(void) switch_load_network_lists(switch_bool_t reload)
|
|||
switch_network_list_add_cidr(rfc_list, "172.16.0.0/12", SWITCH_FALSE);
|
||||
switch_network_list_add_cidr(rfc_list, "192.168.0.0/16", SWITCH_FALSE);
|
||||
switch_network_list_add_cidr(rfc_list, "169.254.0.0/16", SWITCH_FALSE);
|
||||
switch_network_list_add_cidr(rfc_list, "100.64.0.0/10", SWITCH_FALSE);
|
||||
switch_network_list_add_cidr(rfc_list, "::/0", SWITCH_FALSE);
|
||||
switch_core_hash_insert(IP_LIST.hash, tmp_name, rfc_list);
|
||||
|
||||
|
|
Loading…
Reference in New Issue