]> git.puffer.fish Git - matthieu/frr.git/commit
bgp: Fix bi->extra->tag if statement
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 11 Oct 2016 12:47:32 +0000 (08:47 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 11 Oct 2016 12:54:05 +0000 (08:54 -0400)
commitb6bf1505df0d8fa7d566126e6ea2aa9b9f9c8f54
tree307cdab6394604cf1a4c787889eba35e0d9b4a65
parentd8e012a89e822f23d75361c24ba19324b3685381
bgp: Fix bi->extra->tag if statement

bi->extra->tag is a 3 byte array, the statement
as written will always be true.  Modify code
to see if we actually have any data in the
tag and then print the label.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Lou Berger <lberger@labn.net>
bgpd/rfapi/rfapi_vty.c