summaryrefslogtreecommitdiff
path: root/ldpd/log.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-03-03 17:50:22 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-03-03 17:50:22 -0300
commit8819fc38a0610e5828b7cc65fbbfc42e6ea1cc6a (patch)
tree190443908132c32a0e3940410884360307eefc59 /ldpd/log.c
parent0bcc2916a08dfb762d8a5775e6b01a4885c8936a (diff)
ldpd: implement RFC 5561 (LDP Capabilities)
This patch per-se doesn't introduce any useful functionality, but prepares the ground for new enhancements to ldpd (i.e. implementation of new RFCs that make use of LDP capabilities). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ldpd/log.c')
-rw-r--r--ldpd/log.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ldpd/log.c b/ldpd/log.c
index 661fe04b19..a02210efe4 100644
--- a/ldpd/log.c
+++ b/ldpd/log.c
@@ -464,6 +464,8 @@ msg_name(uint16_t msg)
return ("initialization");
case MSG_TYPE_KEEPALIVE:
return ("keepalive");
+ case MSG_TYPE_CAPABILITY:
+ return ("capability");
case MSG_TYPE_ADDR:
return ("address");
case MSG_TYPE_ADDRWITHDRAW:
@@ -557,6 +559,8 @@ status_code_name(uint32_t status)
return ("Generic Misconfiguration Error");
case S_WITHDRAW_MTHD:
return ("Label Withdraw PW Status Method");
+ case S_UNSSUPORTDCAP:
+ return ("Unsupported Capability");
case S_TRANS_MISMTCH:
return ("Transport Connection Mismatch");
case S_DS_NONCMPLNCE: