diff --git a/configure.in b/configure.in index 6b067900..230b57b4 100644 --- a/configure.in +++ b/configure.in @@ -211,7 +211,9 @@ if test "$enable_client" = yes ; then AC_CHECK_LIB(history, add_history, CLIENT_LIBS="-lhistory") AC_CHECK_LIB(ncurses, tgetent, USE_TERMCAP_LIB=-lncurses, AC_CHECK_LIB(curses, tgetent, USE_TERMCAP_LIB=-lcurses, - AC_CHECK_LIB(termcap, tgetent, USE_TERMCAP_LIB=-ltermcap))) + AC_CHECK_LIB(tinfow, tgetent, USE_TERMCAP_LIB=-ltinfow, + AC_CHECK_LIB(tinfo, tgetent, USE_TERMCAP_LIB=-ltinfo + AC_CHECK_LIB(termcap, tgetent, USE_TERMCAP_LIB=-ltermcap))))) AC_CHECK_LIB(readline, rl_callback_read_char, CLIENT_LIBS="-lreadline $CLIENT_LIBS $USE_TERMCAP_LIB", AC_MSG_ERROR([[The client requires GNU readline library 2.1 or newer. Either install the library or use --disable-client to compile without the client.]]), $USE_TERMCAP_LIB) AC_CHECK_LIB(readline, rl_crlf, AC_DEFINE(HAVE_RL_CRLF),,$USE_TERMCAP_LIB) diff --git a/doc/bird.conf.example b/doc/bird.conf.example index dc4d18b6..7019aba3 100644 --- a/doc/bird.conf.example +++ b/doc/bird.conf.example @@ -167,7 +167,7 @@ protocol static { # description "My BGP uplink"; # local as 65000; # neighbor 62.168.0.130 as 5588; -# multihop 20 via 62.168.0.13; +# multihop; # hold time 240; # startup hold time 240; # connect retry time 120; diff --git a/doc/bird.sgml b/doc/bird.sgml index f15ac74f..5859c77b 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -1024,7 +1024,7 @@ This allows to set routing policy and all the other parameters differently for each neighbor using the following configuration parameters: - local Define which AS we + local [ Define which AS we are part of. (Note that contrary to other IP routers, BIRD is able to act as a router located in multiple AS'es simultaneously, but in such cases you need to tweak the BGP @@ -1039,7 +1039,7 @@ for each neighbor using the following configuration parameters: of your router's interfaces. In case the neighbor is in the same AS as we are, we automatically switch to iBGP. This parameter is mandatory. - multihop Configure multihop BGP + multihop [ Configure multihop BGP session to a neighbor that isn't directly connected. Accurately, this option should be used if the configured neighbor IP address does not match with any local network @@ -1334,11 +1334,10 @@ require network interfaces to be defined for them to work with. notification messages, so the default time is set to a large value. primary [ " - If a network interface has more than one network address, - BIRD has to choose one of them as a primary one, because some - routing protocols (for example OSPFv2) suppose there is only - one network address per interface. By default, BIRD chooses - the lexicographically smallest address as the primary one. + If a network interface has more than one network address, BIRD + has to choose one of them as a primary one. By default, BIRD + chooses the lexicographically smallest address as the primary + one. This option allows to specify which network address should be chosen as a primary one. Network addresses that match diff --git a/nest/iface.h b/nest/iface.h index 5906e218..a9cf6cd2 100644 --- a/nest/iface.h +++ b/nest/iface.h @@ -63,8 +63,8 @@ struct iface { * - Host addresses, with ifa.prefix/pxlen == ifa.ip/32 (or /128). * May be considered a special case of standard addresses. * - * Peer addresses (AFAIK) do not exist in IPv6. Linux alos supports generalized peer - * address (with pxlen < 32 and ifa.ip outside prefix), we do not support that. + * Peer addresses (AFAIK) do not exist in IPv6. Linux also supports generalized peer + * addresses (with pxlen < 32 and ifa.ip outside prefix), we do not support that. */