Commit db4b4021 authored by Mateusz Guzik's avatar Mateusz Guzik
Browse files

routing: hide notify_add and notify_del behind ROUTE_MPATH

Fixes a warn about unused routines without the option.

Sponsored by:	Rubicon Communications, LLC ("Netgate")
parent 177f8b32
......@@ -258,6 +258,7 @@ rib_lookup(uint32_t fibnum, const struct sockaddr *dst, uint32_t flags,
return (nh);
static void
notify_add(struct rib_cmd_info *rc, const struct weightened_nhop *wn_src,
route_notification_t *cb, void *cbdata) {
......@@ -284,7 +285,6 @@ notify_del(struct rib_cmd_info *rc, const struct weightened_nhop *wn_src,
cb(rc, cbdata);
static void
decompose_change_notification(struct rib_cmd_info *rc, route_notification_t *cb,
void *cbdata)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment