diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-16 10:15:35 +0200 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-04-16 14:27:51 +0200 |
commit | d3f6c580a8c4e250c3f6a09c14410b530481df08 (patch) | |
tree | 9388a0a60413bd1b86b3b14e21f744cd018db9c5 /lib/plist_int.h | |
parent | Merge pull request #6237 from ton31337/fix/show_hostname_in_bgp (diff) | |
download | frr-d3f6c580a8c4e250c3f6a09c14410b530481df08.tar.xz frr-d3f6c580a8c4e250c3f6a09c14410b530481df08.zip |
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 <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/plist_int.h')
-rw-r--r-- | lib/plist_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |