]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: simplify code fragment for RFC 9234
authorEugene Bogomazov <eb@qrator.net>
Wed, 22 Jun 2022 13:12:28 +0000 (16:12 +0300)
committerEugene Bogomazov <eb@qrator.net>
Wed, 22 Jun 2022 13:12:28 +0000 (16:12 +0300)
commit13896bde30bf340ca15d2cc9092569e1bbbfd5f2
tree4228b91ef7b10a47065c12a41988e89ae6828f51
parent9a38a7b055252427c10124517c3e8990a82d78da
bgpd: simplify code fragment for RFC 9234

Roles cannot be applied to iBGP sessions, so we can move this check to
the top of the role configuration method. Thus, we simplify the internal
logic of branching.

Signed-off-by: Eugene Bogomazov <eb@qrator.net>
bgpd/bgpd.c