diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-06-01 18:47:08 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-06-01 18:47:08 +0000 |
commit | 20eb1c451d6374bab1f0ef1b5042f25f7efb2e89 (patch) | |
tree | 8566cc8b2ccfef08303e5a7cde132ae680ceeb94 /usr.sbin/ldpd/address.c | |
parent | ad4de5b1c76896379d6cab9b55686c2e66215131 (diff) |
Drop support for per-interface labelspaces.
Support for per-interface labelspaces is only necessary for legacy ATM/FR
interfaces running in cell-mode. We shouldn't worry about this.
For platform-wide label spaces the label space id is always 0.
Diff by Renato Westphal
Diffstat (limited to 'usr.sbin/ldpd/address.c')
-rw-r--r-- | usr.sbin/ldpd/address.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ldpd/address.c b/usr.sbin/ldpd/address.c index 1ea0e129331..9bba91c194a 100644 --- a/usr.sbin/ldpd/address.c +++ b/usr.sbin/ldpd/address.c @@ -1,4 +1,4 @@ -/* $OpenBSD: address.c,v 1.7 2013/06/01 18:35:02 claudio Exp $ */ +/* $OpenBSD: address.c,v 1.8 2013/06/01 18:47:07 claudio Exp $ */ /* * Copyright (c) 2009 Michele Marchetto <michele@openbsd.org> @@ -64,7 +64,7 @@ send_address(struct nbr *nbr, struct iface *iface) sizeof(struct address_list_tlv) + iface_count * sizeof(struct in_addr); - gen_ldp_hdr(buf, nbr->iface, size); + gen_ldp_hdr(buf, size); size -= LDP_HDR_SIZE; @@ -181,7 +181,7 @@ send_address_withdraw(struct nbr *nbr, struct iface *iface) /* XXX: multiple address on the same iface? */ size = LDP_HDR_SIZE + sizeof(struct ldp_msg) + sizeof(struct in_addr); - gen_ldp_hdr(buf, nbr->iface, size); + gen_ldp_hdr(buf, size); size -= LDP_HDR_SIZE; |