summaryrefslogtreecommitdiff
path: root/babeld/kernel.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2017-08-19 14:26:00 -0300
committerRenato Westphal <renato@opensourcerouting.org>2017-08-23 17:45:17 -0300
commitd51b9e4509f69cf3f871a787e69534a60842bab5 (patch)
tree26e3102060d78b501f5a8d402d2118906f997bce /babeld/kernel.c
parente959008b1ef36acc572d41555f7df2d3e7f9a0cf (diff)
zserv: simplify handling of route delete requests
Route attributes like tag, distance and metric are irrelevant when we want to delete a route from a client daemon. The same can be said about the nexthops of the route. Only the IP prefix and client protocol are enough to identify the route we want to remove, considering that zebra maintains at most one route from each client daemon for each prefix. Once rib_delete() is called, it deletes the selected route with all of its nexthops. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'babeld/kernel.c')
0 files changed, 0 insertions, 0 deletions