diff options
| author | Louis Scalbert <louis.scalbert@6wind.com> | 2022-07-08 12:37:57 +0200 |
|---|---|---|
| committer | Louis Scalbert <louis.scalbert@6wind.com> | 2022-07-11 16:08:37 +0200 |
| commit | 02212dee266ff89e8cc9c3219d7d488de3b50e73 (patch) | |
| tree | 020ef410c5fe58e1b4b5992b320835b185cf0249 /lib/freebsd-queue.h | |
| parent | 88ef29918c9cb00d01e5ebcd6955e019ebdaa001 (diff) | |
bgpd: rename "struct bgp" variables in mplsvpn
The "struct bgp" variable names in the mplsvpn bgp code do not
explicitly say whether they refer to a source or destination BGP
instance. Some variable declarations are commented out with "from" and
"to" but this does not avoid confusion within the functions. The names
of "struct bgp" variables are reused in different functions but their
names sometimes refer to a source instance and sometimes to a
destination instance.
Rename the "struct bgp" variable names to from_bgp and to_bgp.
Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Diffstat (limited to 'lib/freebsd-queue.h')
0 files changed, 0 insertions, 0 deletions
