summaryrefslogtreecommitdiffstats
path: root/sys/net/route.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-02 19:28:24 +0000
committerbde <bde@FreeBSD.org>1995-12-02 19:28:24 +0000
commitb3a3046e1be780219c042aae92d9e1e6d40305e7 (patch)
treeedc8929c4199e142cb1793a6e4b3643dedb82643 /sys/net/route.c
parent3089ef081608c63c7ab47c632cfbc98efdc0e815 (diff)
downloadFreeBSD-src-b3a3046e1be780219c042aae92d9e1e6d40305e7.zip
FreeBSD-src-b3a3046e1be780219c042aae92d9e1e6d40305e7.tar.gz
Fixed call to mrt_ioctl(). mrt_ioctl() for some reason has different
number of args when MROUTING is defined.
Diffstat (limited to 'sys/net/route.c')
-rw-r--r--sys/net/route.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/route.c b/sys/net/route.c
index eb50c28..1164fbf 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)route.c 8.2 (Berkeley) 11/15/93
- * $Id: route.c,v 1.26 1995/10/16 19:09:40 wollman Exp $
+ * $Id: route.c,v 1.27 1995/10/29 15:32:14 phk Exp $
*/
#include <sys/param.h>
@@ -298,7 +298,11 @@ rtioctl(req, data, p)
{
#ifdef INET
/* Multicast goop, grrr... */
+#ifdef MROUTING
+ return mrt_ioctl(req, data);
+#else
return mrt_ioctl(req, data, p);
+#endif
#else /* INET */
return ENXIO;
#endif /* INET */
OpenPOWER on IntegriCloud