New upstream version 16.11.4
[deb_dpdk.git] / examples / l2fwd-crypto / main.c
index b40c49c..3e99b48 100644 (file)
@@ -987,6 +987,7 @@ parse_key(uint8_t *data, char *input_arg)
        unsigned byte_count;
        char *token;
 
+       errno = 0;
        for (byte_count = 0, token = strtok(input_arg, ":");
                        (byte_count < MAX_KEY_SIZE) && (token != NULL);
                        token = strtok(NULL, ":")) {