summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ldpd/labelmapping.c
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2016-06-18 01:29:05 +0000
committerrenato <renato@openbsd.org>2016-06-18 01:29:05 +0000
commitd0b141dbfbab8bb2a0ddfd99b8de1c8f017c25fa (patch)
tree0e5f43c2d62586f813401d51bfdb8105533bf314 /usr.sbin/ldpd/labelmapping.c
parentFix small LIB<->LFIB synchronization issue. (diff)
downloadwireguard-openbsd-d0b141dbfbab8bb2a0ddfd99b8de1c8f017c25fa.tar.xz
wireguard-openbsd-d0b141dbfbab8bb2a0ddfd99b8de1c8f017c25fa.zip
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: