summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/labelmapping.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@cvs.openbsd.org>2016-06-18 01:29:06 +0000
committerRenato Westphal <renato@cvs.openbsd.org>2016-06-18 01:29:06 +0000
commit6c1a25cd20ee4f7c28248421d2b6f0109eb8c14a (patch)
tree02fce179f45f77989b4552eb4df7dddecb95eae4 /usr.sbin/ldpd/labelmapping.c
parente9b20c9afa8bba88e98619240292213e870b55b2 (diff)
Remove TODO comments about loop detection.
LDP loop detection is only necessary for ATM LSRs running in cell mode. We are never going to implement this "feature". Also, add two more comments in lde_check_request().
Diffstat (limited to 'usr.sbin/ldpd/labelmapping.c')
-rw-r--r--usr.sbin/ldpd/labelmapping.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/ldpd/labelmapping.c b/usr.sbin/ldpd/labelmapping.c
index 5cb14787ee4..c064a541604 100644
--- a/usr.sbin/ldpd/labelmapping.c
+++ b/usr.sbin/ldpd/labelmapping.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: labelmapping.c,v 1.50 2016/06/11 02:01:46 renato Exp $ */
+/* $OpenBSD: labelmapping.c,v 1.51 2016/06/18 01:29:05 renato Exp $ */
/*
* Copyright (c) 2014, 2015 Renato Westphal <renato@openbsd.org>
@@ -266,10 +266,6 @@ recv_labelmessage(struct nbr *nbr, char *buf, uint16_t len, uint16_t type)
break;
}
break;
- case TLV_TYPE_HOPCOUNT:
- case TLV_TYPE_PATHVECTOR:
- /* TODO just ignore for now */
- break;
case TLV_TYPE_GENERICLABEL:
switch (type) {
case MSG_TYPE_LABELWITHDRAW: