summaryrefslogtreecommitdiff
path: root/ospfd/ospf_te.h
diff options
context:
space:
mode:
Diffstat (limited to 'ospfd/ospf_te.h')
-rw-r--r--ospfd/ospf_te.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_te.h b/ospfd/ospf_te.h
index e8511cdf..863d8ba8 100644
--- a/ospfd/ospf_te.h
+++ b/ospfd/ospf_te.h
@@ -41,7 +41,7 @@
*
*/
-#define LEGAL_TE_INSTANCE_RANGE(i) (0 <= (i) && (i) <= 0xffff)
+#define MAX_LEGAL_TE_INSTANCE_NUM (0xffff)
/*
* 24 16 8 0