]> git.proxmox.com Git - mirror_frr.git/commit
ripd: considering a interface with 2 or more IP
authorlyq140 <34637052+lyq140@users.noreply.github.com>
Wed, 21 Mar 2018 11:46:36 +0000 (07:46 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 21 Mar 2018 11:46:36 +0000 (07:46 -0400)
commit9920df072a1f293dcaca84e0bddfd20ba0c016dc
tree99810144fcd7e178de6e551f73e339acbef491b0
parent1af416bc25d14605b0874c826f267d51ea05b7bf
ripd: considering a interface with 2 or more IP

This commit fixes these three issues:

1) rinfo is used for rip packet sending not tmp_rinfo
2) With RIP_SPLIT_HORIZON and an interface with more than 1 ip addresses
we will not send the routes out an interface that they originate on
3) With RIP_SPLIT_HORIZON_POISONED_REVERSE and an interface with
more than 1 ip address we will not send out ipA with a metric of 16
and ipb with a metric of 1.  Both will be 16 now.

Signed-off-by: lyq140 <34637052+lyq140@users.noreply.github.com>
ripd/ripd.c