[quagga-dev 429] quagga-0.96.4 no longer redistribute 0.0.0.0/0

Krzysztof Oledzki oleq at ans.pl
Sat Nov 8 23:18:29 GMT 2003


Hello,

This patch reverts modification in ripd which changed code responsible for
split horizon calculation. In oryginal quagga 0.96.4 split horizon
simply does not work and ripd no longer redistribute 0.0.0.0/0. The
broblem is in rip_output_process function. Code from zebra-0.93b and old
quagga:

            if ((rinfo->type == ZEBRA_ROUTE_RIP ||
                 rinfo->type == ZEBRA_ROUTE_CONNECT) &&
                rinfo->ifindex == ifp->ifindex)
              continue;

was changed into:

            if ((rinfo->type == ZEBRA_ROUTE_RIP ||
                 rinfo->type == ZEBRA_ROUTE_CONNECT) &&
                 prefix_match((struct prefix *)p, (struct prefix *)saddr))
              continue;

Mayby I missed something, but I see no explanation to change this. What
this was suppose to fix, anyway?

Best regards,


				Krzysztof Olędzki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quagga-0.96.4-fix-split-horizon-default.patch.gz
Type: application/octet-stream
Size: 305 bytes
Desc: 
URL: <http://lists.quagga.net/pipermail/quagga-dev/attachments/20031109/6cdb7903/attachment-0001.obj>


More information about the Quagga-dev mailing list