diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-01-23 22:14:29 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 2002-01-23 22:14:29 +0000 |
commit | 222b80522097683456864fae31bc19e24075525a (patch) | |
tree | d9e4a657130a392fc50ef130f4861742d9460494 /sbin/isakmpd | |
parent | 3298e52ddeec078404e479a1259f5eca6ca03f09 (diff) |
Actually return the ESP/AH/COMP ground descriptions for policy
comparisons -- from cjkim2000@yahoo.com
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/policy.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sbin/isakmpd/policy.c b/sbin/isakmpd/policy.c index 66f75b6373d..962f8d9e319 100644 --- a/sbin/isakmpd/policy.c +++ b/sbin/isakmpd/policy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: policy.c,v 1.49 2002/01/23 18:09:04 ho Exp $ */ +/* $OpenBSD: policy.c,v 1.50 2002/01/23 22:14:28 angelos Exp $ */ /* $EOM: policy.c,v 1.49 2000/10/24 13:33:39 niklas Exp $ */ /* @@ -1785,6 +1785,15 @@ policy_callback (char *name) if (strcmp (name, "phase1_group_desc") == 0) return phase1_group; + if (strcmp (name, "esp_group_desc") == 0) + return esp_group_desc; + + if (strcmp (name, "ah_group_desc") == 0) + return ah_group_desc; + + if (strcmp (name, "comp_group_desc") == 0) + return comp_group_desc; + return ""; bad: |