]> git.proxmox.com Git - mirror_frr.git/commit
lib: do not include bgpd headers in route_opaque.h
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 21 Sep 2021 01:11:18 +0000 (22:11 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Tue, 23 Nov 2021 17:24:07 +0000 (14:24 -0300)
commit959331a339a04a5cc893baf520bd294cb18473cc
tree78b599133f0d4f202b981f9abffa9ec2be20341c
parent4ac61f7a2a6e0c088ff12909e8d130fdcd8d6126
lib: do not include bgpd headers in route_opaque.h

Duplicate a couple of definitions in order to remove the bgpd
includes from this libfrr header. This is necessary to fix some
name collisions like PREFIX_LIST_IN being defined differently on
multiple daemons (as soon as other daemons start including
route_opaque.h).

Including daemon headers on libfrr headers is a bad practice and
should be avoided whenever possible.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
bgpd/bgp_zebra.c
lib/route_opaque.h