summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYuqing Zhao <galadriel.zyq@alibaba-inc.com>2025-01-15 13:16:21 +0100
committerYuqing Zhao <galadriel.zyq@alibaba-inc.com>2025-01-18 11:28:49 +0100
commit7aefc15f64d771db98f6982ea1f3a6393f2ea997 (patch)
treea5adcdd4af406f4e244eb70911dfeedaa7f1abf5 /lib
parentstaticd: Add infrastructure for SRv6 (diff)
downloadfrr-7aefc15f64d771db98f6982ea1f3a6393f2ea997.tar.xz
frr-7aefc15f64d771db98f6982ea1f3a6393f2ea997.zip
lib, isisd: Move DEFAULT_SRV6_IFNAME to global srv6.h header
This commit moves DEFAULT_SRV6_IFNAME from isis_srv6.h to srv6.h because there are other daemons that might want to use it (e.g. staticd). Signed-off-by: Yuqing Zhao <galadriel.zyq@alibaba-inc.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/srv6.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/srv6.h b/lib/srv6.h
index 41e0a076f..7e4fb97ad 100644
--- a/lib/srv6.h
+++ b/lib/srv6.h
@@ -22,6 +22,8 @@
#define SRV6_SID_FORMAT_NAME_SIZE 512
+#define DEFAULT_SRV6_IFNAME "sr0"
+
#ifdef __cplusplus
extern "C" {
#endif