summaryrefslogtreecommitdiffstats
path: root/isisd/isis_sr.h
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_sr.h')
-rw-r--r--isisd/isis_sr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isis_sr.h b/isisd/isis_sr.h
index 2759e860f..0b84db90f 100644
--- a/isisd/isis_sr.h
+++ b/isisd/isis_sr.h
@@ -173,6 +173,8 @@ enum sr_sid_value_type {
SR_SID_VALUE_TYPE_ABSOLUTE = 1,
};
+#define IS_SID_VALUE(flag) CHECK_FLAG(flag, ISIS_PREFIX_SID_VALUE)
+
/* NOTE: these values must be in sync with the YANG module. */
enum sr_last_hop_behavior {
SR_LAST_HOP_BEHAVIOR_EXP_NULL = 0,