Go to file
Pascal Mathis e7103a9644
bgpd: Fix AF-attribute overrides when binding peer
The current implementation of the overrides for peer address-family
attributes suffered a bug, which caused all peer-specific attributes to
be lost when the peer was added to a peer-group which already had that
specific address-family active.

This commit extends the *peer_group2peer_config_copy_af* function to
respect overridden flags properly. Additionally, the arguments of the
macros *PEER_ATTR_INHERIT* and *PEER_STR_ATTR_INHERIT* have been
reordered to be more consistent and easy to read.

This commit also adds further test cases to the BGP peer attributes test
suite, so that this kind of error is being caught in future commits. The
missing AF-attribute *distribute-list* has also been added to the test
suite.

Signed-off-by: Pascal Mathis <mail@pascalmathis.com>
2018-06-14 18:55:25 +02:00
alpine alpine packaging: use a more standard packaging format 2018-04-09 15:34:50 -07:00
babeld babeld: fix cli option to override config file (-f) 2018-04-30 18:02:27 -07:00
bgpd bgpd: Fix AF-attribute overrides when binding peer 2018-06-14 18:55:25 +02:00
debianpkg debianpkg: Add additional lintian override for Ubuntu 18.04 2018-06-12 12:06:00 -07:00
doc doc: Correct wiki URL in workflow-documentation 2018-06-14 09:33:32 +02:00
docker alpine packaging: use a more standard packaging format 2018-04-09 15:34:50 -07:00
eigrpd eigrpd: null return value check (Coverity 1455338) 2018-06-12 15:39:30 +02:00
fpm build: clean up BUILT_SOURCES 2017-08-04 11:13:55 +02:00
gdb gdb: Add a directory of files with gdb macros 2016-05-26 15:33:30 +00:00
include *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
init build: delete .cvsignore files 2011-12-13 14:27:01 +04:00
isisd Merge pull request #2309 from opensourcerouting/master-mpls_te_print_detail-fix 2018-06-01 16:32:15 +02:00
ldpd *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
lib bgpd: Implement group-overrides for peer flags 2018-06-14 18:55:18 +02:00
m4 build: non-recursive auxiliary directories 2017-07-31 23:03:30 +02:00
nhrpd *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospf6d spf6d: fix use after free (Coverity 1221459) 2018-06-08 19:46:48 +02:00
ospfclient *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ospfd Merge pull request #2435 from pacovn/Coverity_1464993_Buffer_not_null_terminated 2018-06-14 13:44:10 -03:00
pbrd pbrd: add ZAPI_RULE_FAIL_REMOVE flag in switch 2018-05-25 15:49:38 +02:00
pimd pimd: Fix connected route nexthop fix from 66f5152f 2018-06-08 18:29:04 +02:00
pkgsrc *: Remove cvs control points 2017-12-05 17:28:12 -05:00
ports pimd: merge pimd as of 2015-01-19 2016-05-25 20:38:32 -04:00
python lib, python: DEFPY_ATTR, DEFPY_HIDDEN 2018-04-10 12:19:03 -04:00
qpb *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
redhat redhat: Fix old systems on upgrade path 2018-05-30 07:53:28 -04:00
ripd ripd: Intentionally ignore return from rip_send_packet 2018-06-05 10:42:05 -04:00
ripngd *: remove -r from daemons except zebra 2018-05-21 19:09:49 +00:00
sharpd sharp: Allow the specification of instance when adding/deleting routes 2018-05-17 10:59:17 -04:00
snapcraft snapcraft: Add PBR daemon to snap package 2018-04-30 18:53:18 -07:00
solaris gitignore: update references to FRR 2017-07-12 11:55:04 -05:00
tests bgpd: Fix AF-attribute overrides when binding peer 2018-06-14 18:55:25 +02:00
tools Merge pull request #2436 from pacovn/Coverity_1143220_Argument_cannot_be_negative 2018-06-14 10:02:25 -04:00
vtysh vtysh: fix config write 2018-06-12 18:14:52 +00:00
watchfrr *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra zebra: Cleanup code to test for failure once 2018-06-13 09:19:37 -04:00
.clang-format ospfd: LSDB_LOOP treat it as a loop. 2018-01-17 13:29:58 -05:00
.dir-locals.el .dir-locals.el: show trailing whitespace 2017-11-07 12:05:09 -05:00
.dockerignore alpine packaging: build packages and base image directly from git 2018-04-04 10:05:44 -07:00
.gitignore *: globally ignore clippy-generated source 2018-03-09 17:52:15 -05:00
AUTHORS Initial revision 2002-12-13 20:15:29 +00:00
bootstrap.sh autoreconf -i 2007-02-06 19:28:28 +00:00
buildtest.sh config: switch a few references to say FRR 2017-07-12 11:25:33 -05:00
ChangeLog Rename: freerangerouting --> frrouting 2017-03-30 14:24:05 -04:00
common.am *: disable all sanitizers for clippy build 2018-06-08 17:22:13 +00:00
configure.ac *: disable all sanitizers for clippy build 2018-06-08 17:22:13 +00:00
COPYING *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
COPYING-LGPLv2.1 build: remove LGPL v2.0, add LGPL v2.1 2016-11-15 17:19:38 +09:00
defaults.h *: reindent 2017-07-17 14:04:07 +02:00
Makefile.am *: disable all sanitizers for clippy build 2018-06-08 17:22:13 +00:00
NEWS release: 0.99.24 2016-06-03 15:56:44 -04:00
README frr: fix typo in README 2018-05-14 11:06:27 -04:00
stamp-h.in Initial revision 2002-12-13 20:15:29 +00:00

FRRouting is free software that implements and manages various IPv4 and IPv6
routing protocols.

Currently FRRouting supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, RIPng,
IS-IS, PIM-SM/MSDP, LDP and Babel as well as very early support for EIGRP and
NHRP.

See doc/user/bugs.rst for information on how to report bugs.

See doc/developer/workflow.rst for information on contributing.

See the file COPYING for copying conditions.

Public email discussion can be found at https://lists.frrouting.org/listinfo

Our public slack channel is at https://frrouting.slack.com