diff options
Diffstat (limited to 'example/ipsec_crypto/odp_ipsec_sa_db.c')
-rw-r--r-- | example/ipsec_crypto/odp_ipsec_sa_db.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/example/ipsec_crypto/odp_ipsec_sa_db.c b/example/ipsec_crypto/odp_ipsec_sa_db.c index 9a7c593b3..ff9d7e3c7 100644 --- a/example/ipsec_crypto/odp_ipsec_sa_db.c +++ b/example/ipsec_crypto/odp_ipsec_sa_db.c @@ -95,8 +95,8 @@ int create_sa_db_entry(char *input, odp_bool_t cipher) str = local; save = NULL; - /* Parse tokens separated by ':' */ - while (NULL != (token = strtok_r(str, ":", &save))) { + /* Parse tokens separated by ',' */ + while (NULL != (token = strtok_r(str, ",", &save))) { str = NULL; /* reset str for subsequent strtok_r calls */ /* Parse token based on its position */ @@ -191,8 +191,8 @@ int create_tun_db_entry(char *input) str = local; save = NULL; - /* Parse tokens separated by ':' */ - while (NULL != (token = strtok_r(str, ":", &save))) { + /* Parse tokens separated by ',' */ + while (NULL != (token = strtok_r(str, ",", &save))) { str = NULL; /* reset str for subsequent strtok_r calls */ /* Parse token based on its position */ |