diff options
| author | vivek <vivek@cumulusnetworks.com> | 2018-09-10 10:13:20 -0700 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-18 10:41:53 -0400 |
| commit | a37f4598d706591b4f9dd1f48d5dd428e6d146ea (patch) | |
| tree | dfadc24dcd8af6a1bc39476a27e235fff37e48a8 /zebra/zebra_vxlan.h | |
| parent | fe697c6be5d0abfb20917fb1e88e90af487f1207 (diff) | |
zebra: Use boolean for certain VxLAN-EVPN flags
Use boolean variables instead of unsigned int for certain VxLAN-EVPN
flags which are really used as boolean.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Reviewed-by: Chirag Shah <chirag@cumulusnetworks.com>
Ticket: CM-22288
Reviewed By: CCR-7832
Testing Done:
Along with a subsequent, related commit
Diffstat (limited to 'zebra/zebra_vxlan.h')
| -rw-r--r-- | zebra/zebra_vxlan.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/zebra_vxlan.h b/zebra/zebra_vxlan.h index 5097757b1d..a6c668785f 100644 --- a/zebra/zebra_vxlan.h +++ b/zebra/zebra_vxlan.h @@ -122,15 +122,15 @@ extern int zebra_vxlan_svi_down(struct interface *ifp, struct interface *link_if); extern int zebra_vxlan_handle_kernel_neigh_update( struct interface *ifp, struct interface *link_if, struct ipaddr *ip, - struct ethaddr *macaddr, uint16_t state, uint8_t ext_learned, - uint8_t router_flag); + struct ethaddr *macaddr, uint16_t state, bool is_ext, + bool is_router); extern int zebra_vxlan_handle_kernel_neigh_del(struct interface *ifp, struct interface *link_if, struct ipaddr *ip); extern int zebra_vxlan_local_mac_add_update(struct interface *ifp, struct interface *br_if, struct ethaddr *mac, vlanid_t vid, - uint8_t sticky); + bool sticky); extern int zebra_vxlan_local_mac_del(struct interface *ifp, struct interface *br_if, struct ethaddr *mac, vlanid_t vid); |
