summaryrefslogtreecommitdiffstats
path: root/ldpd/ldp.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-03-03 21:50:22 +0100
committerRenato Westphal <renato@opensourcerouting.org>2017-03-03 21:50:22 +0100
commit357db52712f04401a2fde1369b24b3e46e151ecb (patch)
treec8688dea405a9ef67e8a181050d7675ff9e15ca9 /ldpd/ldp.h
parentldpd: send correct status code on error condition (diff)
downloadfrr-357db52712f04401a2fde1369b24b3e46e151ecb.tar.xz
frr-357db52712f04401a2fde1369b24b3e46e151ecb.zip
ldpd: the PW Status is an unknown TLV
Without this fix, any LDP speaker that doesn't implement RFC 4447 will shut down the session upon receipt of a PWid Label Mapping (unless the use of the PW-Status TLV is disabled via configuration). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r--ldpd/ldp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldpd/ldp.h b/ldpd/ldp.h
index c068e2291..88bfa3a82 100644
--- a/ldpd/ldp.h
+++ b/ldpd/ldp.h
@@ -92,7 +92,7 @@
#define TLV_TYPE_FRSESSION 0x0502
#define TLV_TYPE_LABELREQUEST 0x0600
/* RFC 4447 */
-#define TLV_TYPE_PW_STATUS 0x096A
+#define TLV_TYPE_PW_STATUS 0x896A
#define TLV_TYPE_PW_IF_PARAM 0x096B
#define TLV_TYPE_PW_GROUP_ID 0x096C
/* RFC 7552 */