summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1999-04-12 03:17:10 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1999-04-12 03:17:10 +0000
commita82c8672903661162674bbc560cbb120810de78f (patch)
tree9db8c61f1fb4e18f2c3746c3897b882a3ce7b545 /sys/netinet
parent9089ff221ec6a3b3e379188aa96052b59366a841 (diff)
move encdebug to a useful place
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_input.c5
-rw-r--r--sys/netinet/ip_ipsp.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index 2e01890273c..e71c671f75b 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_input.c,v 1.38 1999/04/11 19:41:38 niklas Exp $ */
+/* $OpenBSD: ip_input.c,v 1.39 1999/04/12 03:17:09 deraadt Exp $ */
/* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */
/*
@@ -76,6 +76,9 @@
#ifndef IPSENDREDIRECTS
#define IPSENDREDIRECTS 1
#endif
+
+int encdebug = 0;
+
/*
* Note: DIRECTED_BROADCAST is handled this way so that previous
* configuration using this option will Just Work.
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c
index a6eef7e135a..48bc289fc26 100644
--- a/sys/netinet/ip_ipsp.c
+++ b/sys/netinet/ip_ipsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.c,v 1.39 1999/03/27 21:04:19 provos Exp $ */
+/* $OpenBSD: ip_ipsp.c,v 1.40 1999/04/12 03:17:09 deraadt Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -86,7 +86,7 @@ extern int ipsec_auth_default_level;
extern int ipsec_esp_trans_default_level;
extern int ipsec_esp_network_default_level;
-int encdebug = 0;
+extern int encdebug;
int ipsec_in_use = 0;
u_int32_t kernfs_epoch = 0;