1
0
This repository has been archived on 2025-06-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openwrt_archive/net/bird/patches/0001-change_config_name.patch
Florian Fainelli 31aea4d543 [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>

SVN-Revision: 20780
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