summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_zebra.c
diff options
context:
space:
mode:
authorpaul <paul>2003-08-10 02:51:22 +0000
committerpaul <paul>2003-08-10 02:51:22 +0000
commitad63404c8c9231a75759a0e5c981f9027762befe (patch)
tree2ebdc876629ccb97e49341a26737703bdc56013e /ospfd/ospf_zebra.c
parent62b118c137914660e08d5203b5bba7c8814b6e6d (diff)
downloadquagga-ad63404c8c9231a75759a0e5c981f9027762befe.tar.bz2
quagga-ad63404c8c9231a75759a0e5c981f9027762befe.tar.xz
2003-08-10 amir <amir@datacore.ch>
* Add missing 'i' to getopts, short form of --pid_file. see http://bugzilla.quagga.net/show_bug.cgi?id=25
Diffstat (limited to 'ospfd/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index a17f893d..3594b17c 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -355,10 +355,10 @@ ospf_zebra_add (struct prefix_ipv4 *p, struct ospf_route *or)
stream_write (s, (u_char *) & p->prefix, psize);
/* Nexthop count. */
- stream_putc (s, or->path->count);
+ stream_putc (s, or->paths->count);
/* Nexthop, ifindex, distance and metric information. */
- for (node = listhead (or->path); node; nextnode (node))
+ for (node = listhead (or->paths); node; nextnode (node))
{
path = getdata (node);
@@ -419,7 +419,7 @@ ospf_zebra_delete (struct prefix_ipv4 *p, struct ospf_route *or)
api.nexthop_num = 0;
SET_FLAG (api.message, ZAPI_MESSAGE_NEXTHOP);
- for (node = listhead (or->path); node; nextnode (node))
+ for (node = listhead (or->paths); node; nextnode (node))
{
path = getdata (node);