diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2002-12-06 07:46:51 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2002-12-06 07:46:51 +0000 |
commit | 0f9b0e7f472846c2fd35288aede0f8db6498c09c (patch) | |
tree | 5bf8743f9a16d81d5cb7dd5d334726e2311eabc3 /sbin | |
parent | 930553bc44c49ab61e07ddab3e5e7938b3002580 (diff) |
Section and tag comparisions should be case-insensitive. PR#3010, Mike Neuman.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/conf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/conf.c b/sbin/isakmpd/conf.c index 052498e515f..64cb3a20818 100644 --- a/sbin/isakmpd/conf.c +++ b/sbin/isakmpd/conf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.c,v 1.47 2002/11/15 14:58:38 ho Exp $ */ +/* $OpenBSD: conf.c,v 1.48 2002/12/06 07:46:50 ho Exp $ */ /* $EOM: conf.c,v 1.48 2000/12/04 02:04:29 angelos Exp $ */ /* @@ -347,8 +347,8 @@ conf_get_trans_str (int trans, char *section, char *tag) for (node = TAILQ_FIRST (&conf_trans_queue); node; node = TAILQ_NEXT (node, link)) - if (node->trans == trans && strcmp (section, node->section) == 0 - && strcmp (tag, node->tag) == 0) + if (node->trans == trans && strcasecmp (section, node->section) == 0 + && strcasecmp (tag, node->tag) == 0) { if (!nf) nf = node; |