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
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index a17f893..3594b17 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -355,10 +355,10 @@
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 @@
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);