diff options
-rw-r--r-- | usr.sbin/ldpd/lde.h | 3 | ||||
-rw-r--r-- | usr.sbin/ldpd/lde_lib.c | 9 |
2 files changed, 8 insertions, 4 deletions
diff --git a/usr.sbin/ldpd/lde.h b/usr.sbin/ldpd/lde.h index 5013306198a..9647fc661e5 100644 --- a/usr.sbin/ldpd/lde.h +++ b/usr.sbin/ldpd/lde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: lde.h,v 1.8 2010/05/19 15:28:51 claudio Exp $ */ +/* $OpenBSD: lde.h,v 1.9 2010/05/25 09:31:25 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -128,6 +128,7 @@ void lde_kernel_insert(struct kroute *); void lde_kernel_remove(struct kroute *); void lde_check_mapping(struct map *, struct lde_nbr *); void lde_check_request(struct map *, struct lde_nbr *); +void lde_check_release(struct map *, struct lde_nbr *); void lde_label_list_free(struct lde_nbr *); #endif /* _LDE_H_ */ diff --git a/usr.sbin/ldpd/lde_lib.c b/usr.sbin/ldpd/lde_lib.c index 53e4e12c94f..c10d42cf520 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.17 2010/05/19 15:28:51 claudio Exp $ */ +/* $OpenBSD: lde_lib.c,v 1.18 2010/05/25 09:31:25 claudio Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -462,8 +462,6 @@ lde_check_request(struct map *map, struct lde_nbr *ln) struct lde_nbr *lnn; struct map localmap; - bzero(&newlre, sizeof(newlre)); - rn = rt_find(map->prefix, map->prefixlen); if (rn == NULL || rn->remote_label == NO_LABEL) { lde_send_notification(ln->peerid, S_NO_ROUTE, map->messageid, @@ -510,6 +508,11 @@ lde_check_request(struct map *map, struct lde_nbr *ln) } void +lde_check_release(struct map *map, struct lde_nbr *ln) +{ +} + +void lde_label_list_free(struct lde_nbr *nbr) { struct rt_label *rl; |