diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-30 01:47:12 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-30 01:47:12 +0000 |
commit | c51973e5d1de0ff9dbe78f5004f098837b107a10 (patch) | |
tree | a7160ad560f35e55392b79e365bf578a9759ea88 /usr.sbin/ldpd/lde.c | |
parent | 6fe1dce7c867cf0570072a1f443f2f564bf60ae4 (diff) |
Switch prefix in struct map to a struct in_addr instead of a u_int32_t.
Needed for further clean etc.
Diffstat (limited to 'usr.sbin/ldpd/lde.c')
-rw-r--r-- | usr.sbin/ldpd/lde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/lde.c b/usr.sbin/ldpd/lde.c index e1fc76a4609..5fd2328a3eb 100644 --- a/usr.sbin/ldpd/lde.c +++ b/usr.sbin/ldpd/lde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lde.c,v 1.17 2010/06/09 13:32:15 claudio Exp $ */ +/* $OpenBSD: lde.c,v 1.18 2010/06/30 01:47:11 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -607,7 +607,7 @@ lde_nbr_do_mappings(struct rt_node *rn) struct map map; map.label = rn->local_label; - map.prefix = rn->fec.prefix.s_addr; + map.prefix = rn->fec.prefix; map.prefixlen = rn->fec.prefixlen; RB_FOREACH(ln, nbr_tree, &lde_nbrs) { |