summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2017-03-03 23:56:55 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2017-03-03 23:56:55 +0000
commit1404856e930059f0cee1ab568c7e4d96ea7a1b69 (patch)
treee03baaf02dd5f19160e779ae6c901466208ff7ce
parent9842e3fb4b64699a80e2ce2c163d565e94f086ec (diff)
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).
-rw-r--r--usr.sbin/ldpd/ldp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/ldp.h b/usr.sbin/ldpd/ldp.h
index 82ee6976f8d..e8c007a9c08 100644
--- a/usr.sbin/ldpd/ldp.h
+++ b/usr.sbin/ldpd/ldp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldp.h,v 1.36 2017/03/03 23:41:27 renato Exp $ */
+/* $OpenBSD: ldp.h,v 1.37 2017/03/03 23:56:54 renato Exp $ */
/*
* Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org>
@@ -94,7 +94,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 */