summaryrefslogtreecommitdiff
path: root/sbin/routed/defs.h
diff options
context:
space:
mode:
authorJakob Schlyter <jakob@cvs.openbsd.org>2001-11-06 21:29:29 +0000
committerJakob Schlyter <jakob@cvs.openbsd.org>2001-11-06 21:29:29 +0000
commitc496f97fbd5cabdc495abf0b81141b30ca24728e (patch)
tree30bbc613bfd1a3172136b4a207743813fb5e3d00 /sbin/routed/defs.h
parenta0cc8d9cea95859745e56428c11cdca914d3eec1 (diff)
fix compiler warning for INADDR_ALLROUTERS_GROUP; goeran@cdg.chalmers.se
Diffstat (limited to 'sbin/routed/defs.h')
-rw-r--r--sbin/routed/defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/routed/defs.h b/sbin/routed/defs.h
index f5cc6ef709b..f0a6f2a476c 100644
--- a/sbin/routed/defs.h
+++ b/sbin/routed/defs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: defs.h,v 1.6 1997/07/30 23:28:40 deraadt Exp $ */
+/* $OpenBSD: defs.h,v 1.7 2001/11/06 21:29:28 jakob Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
@@ -115,8 +115,10 @@
/* Router Discovery parameters */
#ifndef sgi
+#ifndef INADDR_ALLROUTERS_GROUP
#define INADDR_ALLROUTERS_GROUP 0xe0000002 /* 224.0.0.2 */
#endif
+#endif
#define MaxMaxAdvertiseInterval 1800
#define MinMaxAdvertiseInterval 4
#define DefMaxAdvertiseInterval 600