summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2002-09-03 18:37:13 +0000
committermarkus <markus@openbsd.org>2002-09-03 18:37:13 +0000
commit7e0041498ee9de855361f6bba889c86e4e1a6e85 (patch)
tree06935abae6d57bf8874f48fa1145b2cee1d021c5
parentuse sig_atomic_t; cloder (diff)
downloadwireguard-openbsd-7e0041498ee9de855361f6bba889c86e4e1a6e85.tar.xz
wireguard-openbsd-7e0041498ee9de855361f6bba889c86e4e1a6e85.zip
CPI_RESERVED_MIN is not defined on KAME+BSD/OS; ok ho@
-rw-r--r--sbin/isakmpd/sysdep/bsdi/sysdep-os.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sbin/isakmpd/sysdep/bsdi/sysdep-os.h b/sbin/isakmpd/sysdep/bsdi/sysdep-os.h
index 6595a337bdb..4669d8e7f46 100644
--- a/sbin/isakmpd/sysdep/bsdi/sysdep-os.h
+++ b/sbin/isakmpd/sysdep/bsdi/sysdep-os.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysdep-os.h,v 1.2 2001/04/09 12:23:55 markus Exp $ */
+/* $OpenBSD: sysdep-os.h,v 1.3 2002/09/03 18:37:13 markus Exp $ */
/*
* Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved.
@@ -49,4 +49,12 @@
} \
} while (0)
+#ifndef CPI_RESERVED_MIN
+/* Reserved CPI numbers */
+#define CPI_RESERVED_MIN 1
+#define CPI_RESERVED_MAX 255
+#define CPI_PRIVATE_MIN 61440
+#define CPI_PRIVATE_MAX 65535
+#endif
+
#endif /* _SYSDEP_OS_H_ */