Skip to content

Commit

Permalink
mroute-api.c: Misc. build fixes for FreeBSD
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
  • Loading branch information
troglobit committed Sep 21, 2014
1 parent 0e5454e commit f8c72df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mroute-api.c
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
* Copyright (C) 2006-2009 Julien BLACHE <[email protected]>
Expand Down Expand Up @@ -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];

Expand Down

0 comments on commit f8c72df

Please sign in to comment.