packages/net/bird/patches/0001-change_config_name.patch
florian 5840f27288 [package] add package for BIRD Internet Routing Daemon
Here is the patch that adds a package for The BIRD Internet Routing
Daemon. It is updated to the current version of BIRD (v 1.2.2).

BIRD is an internet routing daemon that implements OSPF, RIP and BGP.
It is fast, lightweight and small (cca 300 kB), therefore ideal for
OpenWRT based routers.

The makefile is rather tricky, as BIRD have to be built two times  (for
IPv4 and IPv6 versions) and there are separate packages for BIRD daemon
and BIRD client, because client depends on libreadline and is not
strictly necessary.

Signed-off-by: Ondrej Zajicek <santiago@crfreenet.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@20780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-10 18:33:04 +00:00

21 lines
637 B
Diff

diff --git a/sysdep/config.h b/sysdep/config.h
index 03399bd..bc5eb77 100644
--- a/sysdep/config.h
+++ b/sysdep/config.h
@@ -46,11 +46,11 @@ typedef u16 word;
# endif
#else
# ifdef DEBUGGING
-# define PATH_CONFIG "bird.conf"
-# define PATH_CONTROL_SOCKET "bird.ctl"
+# define PATH_CONFIG "bird4.conf"
+# define PATH_CONTROL_SOCKET "bird4.ctl"
# else
-# define PATH_CONFIG PATH_CONFIG_DIR "/bird.conf"
-# define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird.ctl"
+# define PATH_CONFIG PATH_CONFIG_DIR "/bird4.conf"
+# define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird4.ctl"
# endif
#endif