diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-05-25 09:31:26 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-05-25 09:31:26 +0000 |
commit | c723a5093555c4005dbc0da7c48098ab7aeab5cc (patch) | |
tree | f49eb6de999d7446e896a8db7ac8085a8b473128 /usr.sbin/ldpd/lde_lib.c | |
parent | 90fbbe742ef4c8ac2b6587ede862d2458ab79cae (diff) |
Kill a bogus bzero() and introduce an empty lde_check_release().
That function will be needed soon.
Diffstat (limited to 'usr.sbin/ldpd/lde_lib.c')
-rw-r--r-- | usr.sbin/ldpd/lde_lib.c | 9 |
1 files changed, 6 insertions, 3 deletions
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; |