freebsd-ports/net-p2p/gnunet/files/patch-src_include_gnunet__util.h
Kirill Ponomarev d69a11d51e Update to 0.6.6
2005-01-24 15:49:31 +00:00

25 lines
729 B
C

$FreeBSD$
--- src/include/gnunet_util.h.orig
+++ src/include/gnunet_util.h
@@ -637,7 +637,7 @@
* Default names of the configuration files.
*/
#define DEFAULT_CLIENT_CONFIG_FILE "~/.gnunet/gnunet.conf"
-#define DEFAULT_DAEMON_CONFIG_FILE "/etc/gnunet.conf"
+#define DEFAULT_DAEMON_CONFIG_FILE "%%PREFIX%%/etc/gnunet.conf"
/* *******************API *********************** */
@@ -1053,8 +1053,8 @@
* @param ip the IP to check (in network byte order)
* @return NO if the IP is not in the list, YES if it it is
*/
-int checkIP6Listed(const CIDR6Network * list,
- const IP6addr * ip);
+int checkIP6Listed(CIDR6Network * list,
+ IP6addr * ip);
/**
* Parse a network specification. The argument specifies