]> git.proxmox.com Git - mirror_frr.git/commit
ripd: fix minor issues from the northbound conversion
authorRenato Westphal <renato@opensourcerouting.org>
Thu, 29 Nov 2018 19:06:22 +0000 (17:06 -0200)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 3 Dec 2018 15:47:58 +0000 (13:47 -0200)
commitd682d365a561697118d0e52c0190241ddc3fd598
tree9eb7591d560204d8820dac4f43dab948bf2df288
parenta3d29c6a4981027159d594297e466d9b92ab6b1b
ripd: fix minor issues from the northbound conversion

* Always apply the mask of IPv4 prefixes (user data) in the
  northbound callbacks, we shouldn't assume the northbound plugins
  will do that for us.

* Fix a bug in the "distance" command introduced by commit a6233bfcb3b.

* Remove unnecessary check in the
  ripd_instance_redistribute_route_map_delete() function and
  reset the route-map's map pointer for safety as well.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
ripd/rip_cli.c
ripd/rip_northbound.c