]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: don't use #ifdef inside macro args
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 3 Mar 2015 07:52:22 +0000 (08:52 +0100)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Fri, 3 Jun 2016 20:57:54 +0000 (20:57 +0000)
commit63b75cdd34d01838049af3cd61b0bd760f44cafe
tree349934fd2e5821bb6dcc6b25fca1253dab1fae71
parent4a7ac06c5ce3f6bdc0859f32effede3e34982ea7
bgpd: don't use #ifdef inside macro args

Using #ifdef inside preprocessor macro argument lists is not guaranteed
to work.  In reality it mostly does, but we don't need these ifdefs for
HAVE_IPV6 anymore, so let's get rid of the warning nonetheless.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 94bad67cd8fe7ad023a40547a1153a414d70fa0a)

Conflicts:
bgpd/bgp_route.c
bgpd/bgp_route.c