]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - sysdep/config.h
New release 1.1.3
[thirdparty/bird.git] / sysdep / config.h
index 0ebf1fbc0294f89cbb5e261d0bb9d434c06f6fff..d9d741136787b6e090accaf3b8bda8a896b86e46 100644 (file)
@@ -7,7 +7,7 @@
 #define _BIRD_CONFIG_H_
 
 /* BIRD version */
-#define BIRD_VERSION "1.0.3"
+#define BIRD_VERSION "1.1.3"
 
 /* Include parameters determined by configure script */
 #include "sysdep/autoconf.h"
@@ -36,12 +36,22 @@ typedef u16 word;
 #endif
 
 /* Path to configuration file */
-#ifdef DEBUGGING
-#define PATH_CONFIG "bird.conf"
-#define PATH_CONTROL_SOCKET "bird.ctl"
+#ifdef IPV6
+#  ifdef DEBUGGING
+#    define PATH_CONFIG "bird6.conf"
+#    define PATH_CONTROL_SOCKET "bird6.ctl"
+#  else
+#    define PATH_CONFIG PATH_CONFIG_DIR "/bird6.conf"
+#    define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird6.ctl"
+#  endif
 #else
-#define PATH_CONFIG PATH_CONFIG_DIR "/bird.conf"
-#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird.ctl"
+#  ifdef DEBUGGING
+#    define PATH_CONFIG "bird.conf"
+#    define PATH_CONTROL_SOCKET "bird.ctl"
+#  else
+#    define PATH_CONFIG PATH_CONFIG_DIR "/bird.conf"
+#    define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird.ctl"
+#  endif
 #endif
 
 #endif