summaryrefslogtreecommitdiffstats
path: root/ospf6d
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2021-09-21 03:12:58 +0200
committerRenato Westphal <renato@opensourcerouting.org>2021-11-23 18:24:07 +0100
commitc1879c8fc50243b1edd0b42ae365adf35f190a09 (patch)
treea6183d31c75d34825a6d86056534ac73f4139beb /ospf6d
parentlib: do not include bgpd headers in route_opaque.h (diff)
downloadfrr-c1879c8fc50243b1edd0b42ae365adf35f190a09.tar.xz
frr-c1879c8fc50243b1edd0b42ae365adf35f190a09.zip
ospf6d: remove unused constants
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ospf6d')
-rw-r--r--ospf6d/ospf6_area.h1
-rw-r--r--ospf6d/ospf6_route.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/ospf6d/ospf6_area.h b/ospf6d/ospf6_area.h
index 905fbac94..1c8c5dfd3 100644
--- a/ospf6d/ospf6_area.h
+++ b/ospf6d/ospf6_area.h
@@ -124,7 +124,6 @@ struct ospf6_area {
#define OSPF6_NSSA_TRANSLATE_ENABLED 1
};
-#define OSPF6_AREA_DEFAULT 0x00
#define OSPF6_AREA_ENABLE 0x01
#define OSPF6_AREA_ACTIVE 0x02
#define OSPF6_AREA_TRANSIT 0x04 /* TransitCapability */
diff --git a/ospf6d/ospf6_route.h b/ospf6d/ospf6_route.h
index 633b8d77c..bb5827a17 100644
--- a/ospf6d/ospf6_route.h
+++ b/ospf6d/ospf6_route.h
@@ -148,8 +148,7 @@ struct ospf6_path {
#define OSPF6_PATH_TYPE_INTER 2
#define OSPF6_PATH_TYPE_EXTERNAL1 3
#define OSPF6_PATH_TYPE_EXTERNAL2 4
-#define OSPF6_PATH_TYPE_REDISTRIBUTE 5
-#define OSPF6_PATH_TYPE_MAX 6
+#define OSPF6_PATH_TYPE_MAX 5
#define OSPF6_PATH_SUBTYPE_DEFAULT_RT 1