summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMichele Marchetto <michele@cvs.openbsd.org>2010-02-25 21:47:09 +0000
committerMichele Marchetto <michele@cvs.openbsd.org>2010-02-25 21:47:09 +0000
commit375512904b368f6f63dbe397c9669148b6e0af37 (patch)
tree9fcd4bfbaad84fb496de2c716a98f66c3b3e8e3a /usr.sbin
parente50539a2fbb8760a3d86d3ccb2d3b458299fbf83 (diff)
One more substitution of label 0 with NO_LABEL.
ok claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ldpd/lde_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/lde_lib.c b/usr.sbin/ldpd/lde_lib.c
index 2369297395b..9cd84c09fba 100644
--- a/usr.sbin/ldpd/lde_lib.c
+++ b/usr.sbin/ldpd/lde_lib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lde_lib.c,v 1.12 2010/02/25 21:07:31 michele Exp $ */
+/* $OpenBSD: lde_lib.c,v 1.13 2010/02/25 21:47:08 michele Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -275,7 +275,7 @@ lde_kernel_insert(struct kroute *kr)
ldeconf->mode & MODE_DIST_ORDERED) {
/* XXX */
if (rn->nexthop.s_addr == INADDR_ANY ||
- rn->remote_label != 0)
+ rn->remote_label != NO_LABEL)
lde_send_labelmapping(ln->peerid,
&localmap);
}