diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-10-04 20:26:38 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-10-04 20:26:38 -0400 |
| commit | 9bfadae860145d64ed7ab6bbfe87c872873cfdbc (patch) | |
| tree | 3bbb98d3aa9cd4d15ea450ca81fa808cc1da4a62 /zebra/kernel_netlink.h | |
| parent | 0cf0069d31861d575cfa3f84877ce512214b6449 (diff) | |
zebra: Use a bool for startup indications
Let's not pass around an int startup when all we are doing
is true/falsing it.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/kernel_netlink.h')
| -rw-r--r-- | zebra/kernel_netlink.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/kernel_netlink.h b/zebra/kernel_netlink.h index d8e5671b72..37c76b9e59 100644 --- a/zebra/kernel_netlink.h +++ b/zebra/kernel_netlink.h @@ -94,11 +94,11 @@ extern const char *nl_rttype_to_str(uint8_t rttype); extern int netlink_parse_info(int (*filter)(struct nlmsghdr *, ns_id_t, int), const struct nlsock *nl, const struct zebra_dplane_info *dp_info, - int count, int startup); + int count, bool startup); extern int netlink_talk_filter(struct nlmsghdr *h, ns_id_t ns, int startup); extern int netlink_talk(int (*filter)(struct nlmsghdr *, ns_id_t, int startup), struct nlmsghdr *n, struct nlsock *nl, - struct zebra_ns *zns, int startup); + struct zebra_ns *zns, bool startup); extern int netlink_request(struct nlsock *nl, void *req); enum netlink_msg_status { |
