]> git.ipfire.org Git - thirdparty/iproute2.git/blobdiff - tc/m_gact.c
tc: make action_util arg const
[thirdparty/iproute2.git] / tc / m_gact.c
index 225ffce414123c7e90767620bbc997744d7e1d65..670d59f03ee6e30d27a9cdecff7e9528e661fc48 100644 (file)
@@ -66,7 +66,7 @@ usage(void)
 }
 
 static int
-parse_gact(struct action_util *a, int *argc_p, char ***argv_p,
+parse_gact(const struct action_util *a, int *argc_p, char ***argv_p,
           int tca_id, struct nlmsghdr *n)
 {
        int argc = *argc_p;
@@ -157,7 +157,7 @@ skip_args:
 }
 
 static int
-print_gact(struct action_util *au, FILE *f, struct rtattr *arg)
+print_gact(const struct action_util *au, FILE *f, struct rtattr *arg)
 {
 #ifdef CONFIG_GACT_PROB
        struct tc_gact_p *pp = NULL;