Package: olsrd-plugins Version: 0.5.6-r4-1 Severity: wishlist Hi,
in order to redistributed routes from Quagga to olsrd I need the “olsrd_quagga” plug-in. It'd be great if you could include that plug-in in future versions of this package. Without modification, the version of “olsrd_quagga” included in olsrd 0.5.6-r4 cannot talk to Quagga 0.99.10-1lenny2. The attached patch fixes this. The code determines the protocol version to use by checking whether or not the “ZEBRA_HEADER_MARKER” define is defined. This define is available from the Quagga source distribution in ‘lib/zebra.h’ and the sources of Quagga 0.99.10-1lenny2 set it as follows: #define ZEBRA_HEADER_MARKER 255 Unfortunately, “olsrd_quagga” doesn't include <zebra.h>, even though ‘lib/quagga/src/quagga/zebra.h’ is shipped for the situation when the Quagga sources are not available. So simply setting CPPFLAGS="-I/path/to/quagga-src/lib" doesn't work. For olsrd to be able to redistribute routes *to* Quagga, I think modifications to Quagga are necessary. So this direction would probably not work. Best regards, -octo P. S.: The current package description is missing the “olsrd_bmf” and “olsrd_txtinfo” plug-ins. -- Florian octo Forster Hacker in training GnuPG: 0x91523C3D http://verplant.org/
diff -pur olsrd-0.5.6-r4.orig/lib/quagga/src/quagga.h olsrd-0.5.6-r4.quag/lib/quagga/src/quagga.h --- olsrd-0.5.6-r4.orig/lib/quagga/src/quagga.h 2009-02-01 20:57:02.000000000 +0100 +++ olsrd-0.5.6-r4.quag/lib/quagga/src/quagga.h 2009-06-11 13:28:51.000000000 +0200 @@ -25,6 +25,10 @@ #define ZEBRA_PORT 2600 #endif +#ifndef ZEBRA_HEADER_MARKER +# define ZEBRA_HEADER_MARKER 255 +#endif + #ifdef ZEBRA_HEADER_MARKER #ifndef ZSERV_VERSION #define ZSERV_VERSION 1
signature.asc
Description: Digital signature