summaryrefslogtreecommitdiff
path: root/zebra/rt.h
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2018-09-10 10:13:20 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-09-18 10:41:53 -0400
commita37f4598d706591b4f9dd1f48d5dd428e6d146ea (patch)
treedfadc24dcd8af6a1bc39476a27e235fff37e48a8 /zebra/rt.h
parentfe697c6be5d0abfb20917fb1e88e90af487f1207 (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/rt.h')
-rw-r--r--zebra/rt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt.h b/zebra/rt.h
index 244b377f86..95b48a9a53 100644
--- a/zebra/rt.h
+++ b/zebra/rt.h
@@ -116,7 +116,7 @@ extern int kernel_del_vtep(vni_t vni, struct interface *ifp,
struct in_addr *vtep_ip);
extern int kernel_add_mac(struct interface *ifp, vlanid_t vid,
struct ethaddr *mac, struct in_addr vtep_ip,
- uint8_t sticky);
+ bool sticky);
extern int kernel_del_mac(struct interface *ifp, vlanid_t vid,
struct ethaddr *mac, struct in_addr vtep_ip);