]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/blobdiff - tc/m_estimator.c
Add reference to tc-codel(8) to the SEE ALSO section
[lisovros/iproute2_canprio.git] / tc / m_estimator.c
index 78eda7a8a074333f739a9f79da675983f0bc2768..a9e5dbc8e88c1a130d6f8a2d72c4dea9b801a2c0 100644 (file)
@@ -39,18 +39,18 @@ int parse_estimator(int *p_argc, char ***p_argv, struct tc_estimator *est)
        int argc = *p_argc;
        char **argv = *p_argv;
        unsigned A, time_const;
-       
+
        NEXT_ARG();
        if (est->ewma_log)
                duparg("estimator", *argv);
        if (matches(*argv, "help") == 0)
                est_help();
-       if (get_usecs(&A, *argv))
+       if (get_time(&A, *argv))
                invarg("estimator", "invalid estimator interval");
        NEXT_ARG();
        if (matches(*argv, "help") == 0)
                est_help();
-       if (get_usecs(&time_const, *argv))
+       if (get_time(&time_const, *argv))
                invarg("estimator", "invalid estimator time constant");
        if (tc_setup_estimator(A, time_const, est) < 0) {
                fprintf(stderr, "Error: estimator parameters are out of range.\n");