summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 18:39:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-04-08 18:39:05 +0000
commit30dce8269018ce1db5d40b5252cea24b919c25c6 (patch)
treeabe4fe30ffe03be8875e418bd8be673622aa4795 /sbin/isakmpd
parent3950698deba5e728155bfdbd0659b660e8910bb4 (diff)
we have IPPROTO_ETHERIP
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/policy.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sbin/isakmpd/policy.c b/sbin/isakmpd/policy.c
index e5534bc60f3..b6d8a55efee 100644
--- a/sbin/isakmpd/policy.c
+++ b/sbin/isakmpd/policy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: policy.c,v 1.83 2005/04/08 16:37:15 deraadt Exp $ */
+/* $OpenBSD: policy.c,v 1.84 2005/04/08 18:39:04 deraadt Exp $ */
/* $EOM: policy.c,v 1.49 2000/10/24 13:33:39 niklas Exp $ */
/*
@@ -959,11 +959,9 @@ policy_callback(char *name)
remote_id_proto = "udp";
break;
-#ifdef IPPROTO_ETHERIP
case IPPROTO_ETHERIP:
remote_id_proto = "etherip";
break;
-#endif
default:
snprintf(remote_id_proto_num,
@@ -1269,11 +1267,9 @@ policy_callback(char *name)
remote_filter_proto = "udp";
break;
-#ifdef IPPROTO_ETHERIP
case IPPROTO_ETHERIP:
remote_filter_proto = "etherip";
break;
-#endif
default:
snprintf(remote_filter_proto_num,
@@ -1593,11 +1589,9 @@ policy_callback(char *name)
local_filter_proto = "udp";
break;
-#ifdef IPPROTO_ETHERIP
case IPPROTO_ETHERIP:
local_filter_proto = "etherip";
break;
-#endif
default:
snprintf(local_filter_proto_num,