From 294d363da06418f2e6f518c0b7aac78a6f4d0811 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 18 Oct 2024 16:53:12 +0200 Subject: [PATCH] Filter: Remove T_ENUM_RTC It is not used for a long time. --- bird-gdb.py | 1 - filter/data.c | 1 - filter/data.h | 7 +++---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/bird-gdb.py b/bird-gdb.py index 7b31904f..bd914932 100644 --- a/bird-gdb.py +++ b/bird-gdb.py @@ -25,7 +25,6 @@ class BIRDFValPrinter(BIRDPrinter): "T_ENUM_RTS": "i", "T_ENUM_BGP_ORIGIN": "i", "T_ENUM_SCOPE": "i", - "T_ENUM_RTC": "i", "T_ENUM_RTD": "i", "T_ENUM_ROA": "i", "T_ENUM_NET_TYPE": "i", diff --git a/filter/data.c b/filter/data.c index 2a73461a..98e9a25a 100644 --- a/filter/data.c +++ b/filter/data.c @@ -37,7 +37,6 @@ static const char * const f_type_str[] = { [T_ENUM_RTS] = "enum rts", [T_ENUM_BGP_ORIGIN] = "enum bgp_origin", [T_ENUM_SCOPE] = "enum scope", - [T_ENUM_RTC] = "enum rtc", [T_ENUM_RTD] = "enum rtd", [T_ENUM_ROA] = "enum roa", [T_ENUM_ASPA] = "enum aspa", diff --git a/filter/data.h b/filter/data.h index 07163bb4..811c4a80 100644 --- a/filter/data.h +++ b/filter/data.h @@ -36,14 +36,13 @@ enum f_type { T_ENUM_RTS = 0x30, T_ENUM_BGP_ORIGIN = 0x31, T_ENUM_SCOPE = 0x32, - T_ENUM_RTC = 0x33, - T_ENUM_RTD = 0x34, - T_ENUM_ROA = 0x35, + T_ENUM_RTD = 0x33, + T_ENUM_ROA = 0x34, + T_ENUM_ASPA = 0x35, T_ENUM_NET_TYPE = 0x36, T_ENUM_RA_PREFERENCE = 0x37, T_ENUM_AF = 0x38, T_ENUM_MPLS_POLICY = 0x39, - T_ENUM_ASPA = 0x3a, /* new enums go here */ T_ENUM_EMPTY = 0x3f, /* Special hack for atomic_aggr */