]> git.puffer.fish Git - matthieu/frr.git/commit
lib: apply mask to prefix in prefix-list
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 12 Sep 2016 13:32:11 +0000 (06:32 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Mon, 12 Sep 2016 13:32:11 +0000 (06:32 -0700)
commitddb13fd374ee736c20198c1075c855efa7af74e9
treec5052a302a2252910bb3de6a82329a5c73803b12
parente544fa850992c19ec35a6cf7d49530a822b492e2
lib: apply mask to prefix in prefix-list

A crash occurred if a prefix was defined in a prefix-list that
contained bits in the prefix but a /0 mask.  Resolving that crash
and improving usability by applying the mask to the supplied prefix
and notifying the user if the prefix was modified.

Ticket: CM-12744
Signed-off-by: Don Slice
Reviewed_By:
Testing Done: Manual testing attached to the ticket, bgp-min, bgp-smoke
ospf-min, and ospf-smoke all completed before commit
lib/plist.c