From f8c72dff0d07f81e54327b5ebf2649fb2c1f9bdd Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 21 Sep 2014 13:22:30 +0200 Subject: [PATCH] mroute-api.c: Misc. build fixes for FreeBSD - Fix comment-within-comment Linux/*BSD --> Linux and *BSD - Fix 'struct vif' definition --> struct { .. } vif_list[] Fixes part of smcroute issue #5 Signed-off-by: Joachim Nilsson --- src/mroute-api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mroute-api.c b/src/mroute-api.c index d671d6a0..bfc18554 100644 --- a/src/mroute-api.c +++ b/src/mroute-api.c @@ -1,4 +1,4 @@ -/* Generic kernel multicast routing API for Linux/*BSD +/* Generic kernel multicast routing API for Linux and *BSD * * Copyright (C) 2001-2005 Carsten Schill * Copyright (C) 2006-2009 Julien BLACHE @@ -68,7 +68,7 @@ int mroute6_socket = -1; #endif /* IPv4 internal virtual interfaces (VIF) descriptor vector */ -static struct vif { +static struct { struct iface *iface; } vif_list[MAXVIFS];