diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-11 21:59:46 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-01-11 21:59:46 +0000 |
commit | 664cf6a7b5b7f865ac9e01c4146544361bb92f6d (patch) | |
tree | 001dad01b52e59d84db53db77cf64a23e749987e | |
parent | ad96dc61b9f050c124500e87fda9b4f96f531fd4 (diff) |
set address family...
-rw-r--r-- | usr.sbin/bgpd/rde_rib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/rde_rib.c b/usr.sbin/bgpd/rde_rib.c index 121d6b1963b..2a435b6a9c4 100644 --- a/usr.sbin/bgpd/rde_rib.c +++ b/usr.sbin/bgpd/rde_rib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_rib.c,v 1.19 2004/01/11 21:47:20 claudio Exp $ */ +/* $OpenBSD: rde_rib.c,v 1.20 2004/01/11 21:59:45 henning Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> @@ -1040,6 +1040,7 @@ nexthop_add(struct rde_aspath *asp) if (nh == NULL) { nh = nexthop_alloc(); nh->state = NEXTHOP_LOOKUP; + nh->exit_nexthop.af = AF_INET; nh->exit_nexthop.v4.s_addr = asp->flags.nexthop; LIST_INSERT_HEAD(NEXTHOP_HASH(asp->flags.nexthop), nh, nexthop_l); |