remove static disable

This commit is contained in:
2026-05-03 17:03:03 +08:00
parent 687c67a019
commit c78ff0c3e9
5 changed files with 21 additions and 8 deletions

View File

@@ -5,7 +5,6 @@ protocol kernel kernel_dn42v4_105 {
table dn42v4;
import none;
export filter {
if source = RTS_STATIC then reject;
if bgp_large_community ~ [(DN42_ASN, 3,*)] then reject;
if is_dn42_prefix() then {
krt_prefsrc = DN42_V4_kernel;
@@ -23,7 +22,6 @@ protocol kernel kernel_dn42v6_105 {
table dn42v6;
import none;
export filter {
if source = RTS_STATIC then reject;
if bgp_large_community ~ [(DN42_ASN, 3,*)] then reject;
if is_dn42_prefix() then {
krt_prefsrc = DN42_V6_kernel;

View File

@@ -5,7 +5,6 @@ protocol kernel kernel_inet4_102 {
table inet4;
import none;
export filter {
if source = RTS_STATIC then reject;
if bgp_large_community ~ [(LOCAL_ASN, 3,*)] then reject;
if !is_bogon_prefix() then {
krt_prefsrc = LOCAL_V4_kernel;
@@ -24,7 +23,6 @@ protocol kernel kernel_inet6_102 {
table inet6;
import none;
export filter {
if source = RTS_STATIC then reject;
if bgp_large_community ~ [(LOCAL_ASN, 3,*)] then reject;
if !is_bogon_prefix() then {
krt_prefsrc = LOCAL_V6_kernel;