]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tc/q_ingress.c
iproute: Set ip/ip6 lwtunnel flags
[mirror_iproute2.git] / tc / q_ingress.c
index 31699a81f3fdaa0c373b27f4fc0548b126880c78..93313c9c2aec6edf41b51336df4466926be35033 100644 (file)
@@ -21,7 +21,7 @@ static void explain(void)
 }
 
 static int ingress_parse_opt(struct qdisc_util *qu, int argc, char **argv,
-                            struct nlmsghdr *n)
+                            struct nlmsghdr *n, const char *dev)
 {
        while (argc > 0) {
                if (strcmp(*argv, "handle") == 0) {
@@ -40,7 +40,7 @@ static int ingress_parse_opt(struct qdisc_util *qu, int argc, char **argv,
 static int ingress_print_opt(struct qdisc_util *qu, FILE *f,
                             struct rtattr *opt)
 {
-       fprintf(f, "---------------- ");
+       print_string(PRINT_FP, NULL, "---------------- ", NULL);
        return 0;
 }