summaryrefslogtreecommitdiffstats
path: root/ldpd/ldp.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/ldp.h')
-rw-r--r--ldpd/ldp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ldpd/ldp.h b/ldpd/ldp.h
index 33cf93c..1f0fdb5 100644
--- a/ldpd/ldp.h
+++ b/ldpd/ldp.h
@@ -12,6 +12,12 @@
#ifndef _LDP_H_
#define _LDP_H_
+/* this does not include "%s/", frr_runstatedir because the command-line
+ * override option specifies a *directory* rather than a full file name.
+ * Therefore the final part is needed on its own.
+ */
+#define LDPD_SOCK_NAME "ldpd.sock"
+
/* misc */
#define LDP_VERSION 1
#define LDP_PORT 646