summaryrefslogtreecommitdiff
path: root/zebra/rt_socket.c
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_socket.c
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_socket.c')
-rw-r--r--zebra/rt_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index 2a93992ebb..e733b4b26e 100644
--- a/zebra/rt_socket.c
+++ b/zebra/rt_socket.c
@@ -453,7 +453,7 @@ int kernel_del_vtep(vni_t vni, struct interface *ifp, struct in_addr *vtep_ip)
}
int kernel_add_mac(struct interface *ifp, vlanid_t vid, struct ethaddr *mac,
- struct in_addr vtep_ip, uint8_t sticky)
+ struct in_addr vtep_ip, bool sticky)
{
return 0;
}