summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/lde.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2010-06-23 16:26:48 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2010-06-23 16:26:48 +0000
commit57c9d664d178a52099d7b648e1ec1da86c19c639 (patch)
treeb74b403447a1dc0a0a49de2b6be4d63f7a719ee8 /usr.sbin/ldpd/lde.h
parentf1956db2c2d029160fe4d989891e9422006baa66 (diff)
Fix comment. Downstream is towards the destination of a LSP.
Therefor the list holds the recv mappings and not the sent mappings. ldpd sends his mappings upstream.
Diffstat (limited to 'usr.sbin/ldpd/lde.h')
-rw-r--r--usr.sbin/ldpd/lde.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/lde.h b/usr.sbin/ldpd/lde.h
index bb2840263ce..71e4aa3a99e 100644
--- a/usr.sbin/ldpd/lde.h
+++ b/usr.sbin/ldpd/lde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: lde.h,v 1.12 2010/06/23 15:42:07 claudio Exp $ */
+/* $OpenBSD: lde.h,v 1.13 2010/06/23 16:26:47 claudio Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -81,8 +81,8 @@ struct rt_node {
struct fec fec;
struct in_addr nexthop;
- LIST_HEAD(, lde_map) upstream; /* recv mappings */
- LIST_HEAD(, lde_map) downstream; /* sent mappings */
+ LIST_HEAD(, lde_map) downstream; /* recv mappings */
+ LIST_HEAD(, lde_map) upstream; /* sent mappings */
u_int32_t local_label;
u_int32_t remote_label;