ports/net/olsrd/files/patch-src-defs.h
Pav Lucistnik 5db0acfb5c The olsr.org OLSR daemon is an implementation of the Optimized Link
State Routing protocol. OLSR is a routing protocol for mobile ad-hoc
networks. The protocol is pro-active, table driven and utilizes a
technique called multipoint relaying for message flooding.

PR:		ports/79612
Submitted by:	David Cornejo <dave@dogwood.com>
2005-04-08 22:22:36 +00:00

13 lines
488 B
C

--- src/defs.h.orig Fri Apr 1 07:14:22 2005
+++ src/defs.h Sat Apr 9 00:08:01 2005
@@ -64,8 +64,10 @@
#define SOFTWARE_VERSION "olsr.org - " VERSION
#define OLSRD_VERSION_DATE " *** " SOFTWARE_VERSION " (" __DATE__ ") ***\n"
+#ifndef OLSRD_GLOBAL_CONF_FILE
#define OLSRD_CONF_FILE_NAME "olsrd.conf"
#define OLSRD_GLOBAL_CONF_FILE "/etc/" OLSRD_CONF_FILE_NAME
+#endif
#define HOPCNT_MAX 32 /* maximum hops number */
#define MAXMESSAGESIZE 1500 /* max broadcast size */