From d3f6c580a8c4e250c3f6a09c14410b530481df08 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Thu, 16 Apr 2020 11:15:35 +0300 Subject: bgpd, lib: Use bool instead of uint8_t for community/prefix-list "any" That's only 0/1, useful to use just a bool for that. Signed-off-by: Donatas Abraitis --- lib/plist_int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/plist_int.h') diff --git a/lib/plist_int.h b/lib/plist_int.h index 443b0c614..ec8bbe131 100644 --- a/lib/plist_int.h +++ b/lib/plist_int.h @@ -59,7 +59,7 @@ struct prefix_list_entry { enum prefix_list_type type; - int any; + bool any; struct prefix prefix; unsigned long refcnt; -- cgit v1.2.3