From 86361d151fb12dc43c95e6f0d35240433ca1512f Mon Sep 17 00:00:00 2001 From: Andreas Tonnesen Date: Wed, 14 Feb 2007 13:03:13 +0000 Subject: [PATCH] A couple of prototype missmatches for BSD --- src/bsd/net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bsd/net.c b/src/bsd/net.c index 213f7cbf..fc29c81f 100644 --- a/src/bsd/net.c +++ b/src/bsd/net.c @@ -36,7 +36,7 @@ * to the project. For more information see the website or contact * the copyright holders. * - * $Id: net.c,v 1.30 2007/02/04 23:36:35 bernd67 Exp $ + * $Id: net.c,v 1.31 2007/02/14 13:03:13 kattemat Exp $ */ #include "defs.h" @@ -220,7 +220,7 @@ disable_redirects_global(int version) return 1; } -int disable_redirects(char *if_name, struct interface *iface, int version) +int disable_redirects(const char *if_name, struct interface *iface, int version) { // this function gets called for each interface olsrd uses; however, // FreeBSD can only globally control ICMP redirects, and not on a @@ -229,7 +229,7 @@ int disable_redirects(char *if_name, struct interface *iface, int version) return 1; } -int deactivate_spoof(char *if_name, struct interface *iface, int version) +int deactivate_spoof(const char *if_name, struct interface *iface, int version) { return 1; } -- 2.20.1