summaryrefslogtreecommitdiffstats
path: root/lib/plist_int.h
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-04-14 16:15:35 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-04-14 16:18:13 +0200
commit3eff8e2f44b0810074e88ff2bc885f51b5f787d6 (patch)
tree9ae274bb0773022e148bf64ba7b3848998796a68 /lib/plist_int.h
parentMerge pull request #8320 from idryzhov/prefix-list-seqnum (diff)
downloadfrr-3eff8e2f44b0810074e88ff2bc885f51b5f787d6.tar.xz
frr-3eff8e2f44b0810074e88ff2bc885f51b5f787d6.zip
*: cleanup number-named access-lists and prefix-lists
A long time ago there was a difference between number-named and string-named access/prefix-lists. Currently we always treat the name as a string and there is no need for a separate list for number-named lists. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'lib/plist_int.h')
-rw-r--r--lib/plist_int.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/plist_int.h b/lib/plist_int.h
index 5e0beabbc..571978a51 100644
--- a/lib/plist_int.h
+++ b/lib/plist_int.h
@@ -26,8 +26,6 @@
extern "C" {
#endif
-enum prefix_name_type { PREFIX_TYPE_STRING, PREFIX_TYPE_NUMBER };
-
struct pltrie_table;
struct prefix_list {
@@ -36,8 +34,6 @@ struct prefix_list {
struct prefix_master *master;
- enum prefix_name_type type;
-
int count;
int rangecount;