]> git.puffer.fish Git - mirror/frr.git/commit
tests: fix tests for 1a211cb (missing well-known)
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 4 Feb 2015 06:26:03 +0000 (07:26 +0100)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Thu, 26 May 2016 15:24:51 +0000 (15:24 +0000)
commit75ee619cf72b5f9888c60be468e94df5291c25f1
treec67792074c534744752a9d322e8d41d1d9b62318
parentf7c7e4f09261c5c641dfefdbd7aaf1212d7db07f
tests: fix tests for 1a211cb (missing well-known)

Fix tests/aspathtest.c again, this time by including a NEXT_HOP
attribute (which is out of correct order with AS_PATH, but that doesn't
matter here.)  This satisfies bgp_attr_check(), which after 1a211cb
refuses updates without nexthop attribute.

Fixes: 1a211cb ("one more fix for tightening of check for missing well-known attributes")
Cc: Paul Jakma <paul@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 143637198e333f0c822766b38f9d8cfe75c04e21)
tests/aspath_test.c