Mailing List Archive

[Bug 415] New: rip_if_down passes bad metric to rip_zebra_ipv4_delete
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=415

Summary: rip_if_down passes bad metric to rip_zebra_ipv4_delete
Product: Quagga
Version: CVS
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: Low
Component: ripd
AssignedTo: maintainers@quagga.net
ReportedBy: pjt47@cam.ac.uk


>From rip_interface.c, rip_if_down:

rip_zebra_ipv4_delete ((struct prefix_ipv4 *) &rp->p,
&rinfo->nexthop,
rinfo->ifindex);

>From rip_zebra.c:

rip_zebra_ipv4_delete (struct prefix_ipv4 *p, struct in_addr *nexthop,
u_int32_t metric)

so rip_if_down is passing an ifindex which gets reinterpreted as a metric,
which doesn't sound sensible.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs