diff options
author | Michele Marchetto <michele@cvs.openbsd.org> | 2010-04-13 15:39:30 +0000 |
---|---|---|
committer | Michele Marchetto <michele@cvs.openbsd.org> | 2010-04-13 15:39:30 +0000 |
commit | f6729288f523ca8f5dfe8da060731254d7680adb (patch) | |
tree | 0d11a03efce0d393aaf17d804a2688a9b4666ee5 /usr.sbin/ldpd/lde_lib.c | |
parent | d1f76ec35e1b077eec8b9229a2e9e0ea557721b7 (diff) |
When a prefix has a implicit null label associated, force pop operation.
This allow us to correcly do penultimate hop popping.
From Thomas Habets. Thanks.
ok claudio@
Diffstat (limited to 'usr.sbin/ldpd/lde_lib.c')
-rw-r--r-- | usr.sbin/ldpd/lde_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/lde_lib.c b/usr.sbin/ldpd/lde_lib.c index fdbb4c8e6dd..a67b681ce27 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.14 2010/03/03 10:17:05 claudio Exp $ */ +/* $OpenBSD: lde_lib.c,v 1.15 2010/04/13 15:39:29 michele Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -118,7 +118,7 @@ rt_dump(pid_t pid) rtctl.local_label = r->local_label; rtctl.remote_label = r->remote_label; - if (!r->present || r->remote_label == NO_LABEL) + if (!r->present) rtctl.in_use = 0; else rtctl.in_use = 1; |