Be more compliant with RFC 4447.
authorrenato <renato@openbsd.org>
Fri, 1 Jul 2016 23:33:46 +0000 (23:33 +0000)
committerrenato <renato@openbsd.org>
Fri, 1 Jul 2016 23:33:46 +0000 (23:33 +0000)
commit5ba859777b5b1cc80634573caa3437a0887ad5ae
tree32bf26565182f24238467123f14c082fe5c7c97a
parentd3e006a46fe850df1d8a4de57a29e8f90257ad22
Be more compliant with RFC 4447.

When sending a label withdraw during the pseudowire Control Word
negotiation, append a "Wrong C-bit" status TLV after the FEC TLV (in
conformance to RFC 4447 section 6.2). Apparently this has no use other
than aiding in troubleshooting.

Also, extend the recv_labelmessage() function to accept Status TLVs and
ignore them instead of shutting down the session.
usr.sbin/ldpd/l2vpn.c
usr.sbin/ldpd/labelmapping.c
usr.sbin/ldpd/lde.c
usr.sbin/ldpd/lde.h
usr.sbin/ldpd/ldpd.h
usr.sbin/ldpd/ldpe.h
usr.sbin/ldpd/notification.c