]> git.droids-corp.org - dpdk.git/blobdiff - examples/pipeline/cli.c
examples/pipeline: support hexadecimal argument in CLI
[dpdk.git] / examples / pipeline / cli.c
index ae06658e2f66b617118e22e48b206dfd41885523..ef49eb86ac06267ad6f8358a5ad1098c093bf8d7 100644 (file)
@@ -55,7 +55,7 @@ parser_read_uint64(uint64_t *value, const char *p)
        if (!isdigit(*p))
                return -EINVAL;
 
-       val = strtoul(p, &next, 10);
+       val = strtoul(p, &next, 0);
        if (p == next)
                return -EINVAL;