summaryrefslogtreecommitdiff
path: root/usr.sbin/mrouted/mapper.c
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>1999-01-20 07:55:57 +0000
committerBill Fenner <fenner@FreeBSD.org>1999-01-20 07:55:57 +0000
commitec114097dd0922689415e578aa69651b9dd59cb9 (patch)
treee0c29804c98458f333e236268daa04b8de1a8e53 /usr.sbin/mrouted/mapper.c
parentb8d4f311c52f1a6ca8355dae7efe79f086c8db59 (diff)
Notes
Diffstat (limited to 'usr.sbin/mrouted/mapper.c')
-rw-r--r--usr.sbin/mrouted/mapper.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/mrouted/mapper.c b/usr.sbin/mrouted/mapper.c
index e440bbcb9b30..0a5f33cfcd9c 100644
--- a/usr.sbin/mrouted/mapper.c
+++ b/usr.sbin/mrouted/mapper.c
@@ -1,5 +1,7 @@
/* Mapper for connections between MRouteD multicast routers.
* Written by Pavel Curtis <Pavel@PARC.Xerox.Com>
+ *
+ * mapper.c,v 3.8.4.3 1998/01/06 01:57:47 fenner Exp
*/
/*
@@ -21,7 +23,7 @@
#ifndef lint
static const char rcsid[] =
- "$Id: mapper.c,v 1.12 1998/01/16 07:17:43 charnier Exp $";
+ "$Id: mapper.c,v 1.13 1998/06/09 05:01:30 imp Exp $";
#endif /* not lint */
#include <err.h>
@@ -910,7 +912,7 @@ int main(argc, argv)
int addrlen = sizeof(addr);
addr.sin_family = AF_INET;
-#if (defined(BSD) && (BSD >= 199103))
+#ifdef HAVE_SA_LEN
addr.sin_len = sizeof addr;
#endif
addr.sin_addr.s_addr = dvmrp_group;