diff options
Diffstat (limited to 'usr.sbin/ospfd/rde_spf.c')
-rw-r--r-- | usr.sbin/ospfd/rde_spf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/rde_spf.c b/usr.sbin/ospfd/rde_spf.c index f6b25f73fe5..890388ce40d 100644 --- a/usr.sbin/ospfd/rde_spf.c +++ b/usr.sbin/ospfd/rde_spf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde_spf.c,v 1.64 2007/09/16 15:00:11 claudio Exp $ */ +/* $OpenBSD: rde_spf.c,v 1.65 2007/10/01 08:35:12 norby Exp $ */ /* * Copyright (c) 2005 Esben Norby <norby@openbsd.org> @@ -325,10 +325,10 @@ asext_calc(struct vertex *v) if (rn->connected && r->d_type == DT_NET) { if (v->lsa->data.asext.fw_addr != 0) - calc_nexthop_add(v, NULL, + calc_nexthop_add(v, NULL, v->lsa->data.asext.fw_addr); else - calc_nexthop_add(v, NULL, + calc_nexthop_add(v, NULL, htonl(v->adv_rtr)); } else calc_nexthop_add(v, NULL, rn->nexthop.s_addr); |