]> git.puffer.fish Git - mirror/frr.git/commit
lib: Modify prefix_list_apply to allow retrieval of prefix
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 29 Aug 2017 12:29:34 +0000 (08:29 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 31 Aug 2017 14:30:19 +0000 (10:30 -0400)
commitce94edc7339dc4eddabe27ee35ffda5cce2b9094
tree33806000d84ff151dc0b5d5f80a3fd2b5a1f1cdf
parent37b5aaf8fd0a41d4ba1a343b20bc5bfea182bcd9
lib: Modify prefix_list_apply to allow retrieval of prefix

Create a new function prefix_list_apply_which_prefix which
will return a pointer to the matching prefix that caused
the acceptance/denial.

This change will be used in future commits.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/plist.c
lib/plist.h