diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2022-01-27 09:51:59 +0200 | 
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2022-02-01 13:31:16 +0200 | 
| commit | be92fc9f1aae0f59e3d9f35bf9a557180b8ee7c6 (patch) | |
| tree | 6cce785cde9a740ab1432119c9054e4f88e3288e /bgpd/bgp_updgrp.h | |
| parent | 23ad8186e5bec98d849c56a35f956d390d608e7f (diff) | |
bgpd: Convert bgp_addpath_encode_[tr]x() to bool from int
Rename addpath_encode[d] to addpath_capable to be consistent.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_updgrp.h')
| -rw-r--r-- | bgpd/bgp_updgrp.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_updgrp.h b/bgpd/bgp_updgrp.h index 0da6dfd19d..f00853fc6f 100644 --- a/bgpd/bgp_updgrp.h +++ b/bgpd/bgp_updgrp.h @@ -461,7 +461,7 @@ extern int update_group_clear_update_dbg(struct update_group *updgrp,  					 void *arg);  extern void update_bgp_group_free(struct bgp *bgp); -extern int bgp_addpath_encode_tx(struct peer *peer, afi_t afi, safi_t safi); +extern bool bgp_addpath_encode_tx(struct peer *peer, afi_t afi, safi_t safi);  /*   * Inline functions  | 
