aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/load_tester
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-06-19 12:39:12 +0200
committerTobias Brunner <tobias@strongswan.org>2013-07-08 18:49:30 +0200
commitd27f225d9a1064b5883002a293d6adddfbc99a07 (patch)
tree1350ed1a7ccf44fdcfefac02e204406eaddb0b69 /src/libcharon/plugins/load_tester
parentf460facdca9995e32d1c69f84945a306c6063a40 (diff)
downloadstrongswan-d27f225d9a1064b5883002a293d6adddfbc99a07.tar.bz2
strongswan-d27f225d9a1064b5883002a293d6adddfbc99a07.tar.xz
Use strpfx() helper where appropriate
Diffstat (limited to 'src/libcharon/plugins/load_tester')
-rw-r--r--src/libcharon/plugins/load_tester/load_tester_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/load_tester/load_tester_config.c b/src/libcharon/plugins/load_tester/load_tester_config.c
index a64affde8..ebadf44ca 100644
--- a/src/libcharon/plugins/load_tester/load_tester_config.c
+++ b/src/libcharon/plugins/load_tester/load_tester_config.c
@@ -355,7 +355,7 @@ static void generate_auth_cfg(private_load_tester_config_t *this, char *str,
}
}
}
- else if (strneq(str, "eap", strlen("eap")))
+ else if (strpfx(str, "eap"))
{ /* EAP authentication, use a NAI */
class = AUTH_CLASS_EAP;
if (*(str + strlen("eap")) == '-')