summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-07-30 10:56:15 +0100
committerChris Hall <GMCH@hestia.halldom.com>2010-07-30 10:56:15 +0100
commit1235bafb2cd8a5ae2e9d2f5fb149bfc5ea74969a (patch)
tree6b276ad2b46b8af8f73668938eea79813c3cb01a /configure.ac
parent5992b25ebee1ef68a6f0c9aaa9c67f9f7e6d74e9 (diff)
downloadquagga-1235bafb2cd8a5ae2e9d2f5fb149bfc5ea74969a.tar.bz2
quagga-1235bafb2cd8a5ae2e9d2f5fb149bfc5ea74969a.tar.xz
Avoid creating neighbor with same address as another.
With bgp multiple-instance it was possible to create a neighbor in one "view" with the same addres as a neighbor in another view (or the main, unnamed view). To do so was a mistake, since (in particular) the accept() mechanism depends on finding the neighbor by its address -- so two neighbors with the same address == confusion. Attempting to create two neighbors with the same address is now treated as an error, at the command level. Also, added "-rdynamic" to the CFLAGS for gcc in configure.ac. This improves the output from the stack traceback in the event of an assert or other failure.
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b34c69ff..865e84ed 100755
--- a/configure.ac
+++ b/configure.ac
@@ -128,7 +128,7 @@ if test "x${cflags_specified}" = "x" ; then
CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
CFLAGS="${CFLAGS} -Wmissing-prototypes -Wmissing-declarations"
CFLAGS="${CFLAGS} -Wchar-subscripts -Wcast-qual"
- CFLAGS="${CFLAGS} -pthread"
+ CFLAGS="${CFLAGS} -pthread -rdynamic"
# TODO: conditionally addd -Wpacked if handled
AC_MSG_RESULT([gcc default])
;;