]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Modify bgp_node_XXX calls to use `const struct prefix`
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 22 Mar 2020 01:42:38 +0000 (21:42 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 22 Mar 2020 01:44:48 +0000 (21:44 -0400)
commit99a088e7b81988609a8b77392ff549bf5d4a17ad
treee3bd94078c1f349156492bb517761c2c8e30c1c6
parent8150a500bcc2392ed0d71c35902ce2fa268ac2f1
bgpd: Modify bgp_node_XXX calls to use `const struct prefix`

Tell the compiler that the prefix is being used for lookups
and it will never change.

Setup for future work.

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