diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-21 21:56:36 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2020-03-24 07:51:41 -0400 |
| commit | 5a1ae2c237777c6a5a909b89b302cb9c70825092 (patch) | |
| tree | dc02bdfec1c72c3f59f3fcba06ffd6f0e7795670 /bgpd/bgp_mac.h | |
| parent | 1a4189d4a1d2170f2fc3929b4e422e9c3b75a60a (diff) | |
bgpd: Rework code to use `const struct prefix`
Future work needs the ability to specify a
const struct prefix value. Iterate into
bgp a bit to get this started.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_mac.h')
| -rw-r--r-- | bgpd/bgp_mac.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_mac.h b/bgpd/bgp_mac.h index 68449b574a..4b94d80d1a 100644 --- a/bgpd/bgp_mac.h +++ b/bgpd/bgp_mac.h @@ -36,7 +36,7 @@ void bgp_mac_dump_table(struct vty *vty); /* * Function to lookup the prefix and see if we have a matching mac */ -bool bgp_mac_entry_exists(struct prefix *p); -bool bgp_mac_exist(struct ethaddr *mac); +bool bgp_mac_entry_exists(const struct prefix *p); +bool bgp_mac_exist(const struct ethaddr *mac); #endif |
