diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-06-19 12:39:12 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-07-08 18:49:30 +0200 |
commit | d27f225d9a1064b5883002a293d6adddfbc99a07 (patch) | |
tree | 1350ed1a7ccf44fdcfefac02e204406eaddb0b69 /src/libcharon/plugins/load_tester | |
parent | f460facdca9995e32d1c69f84945a306c6063a40 (diff) | |
download | strongswan-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.c | 2 |
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")) == '-') |