summaryrefslogtreecommitdiffstats
path: root/tc/f_fw.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:59:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-17 14:59:00 +0000
commit1cefc35122bcf1e78162ba0a2d78357ceabf97b0 (patch)
treea6978b57768e45ecbbd689911f3e4b47ee507531 /tc/f_fw.c
parentAdding debian version 6.8.0-1. (diff)
downloadiproute2-1cefc35122bcf1e78162ba0a2d78357ceabf97b0.tar.xz
iproute2-1cefc35122bcf1e78162ba0a2d78357ceabf97b0.zip
Merging upstream version 6.9.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tc/f_fw.c')
-rw-r--r--tc/f_fw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tc/f_fw.c b/tc/f_fw.c
index 5e72e52..cf4abe1 100644
--- a/tc/f_fw.c
+++ b/tc/f_fw.c
@@ -29,7 +29,7 @@ static void explain(void)
" FWMASK is 0xffffffff by default.\n");
}
-static int fw_parse_opt(struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n)
+static int fw_parse_opt(const struct filter_util *qu, char *handle, int argc, char **argv, struct nlmsghdr *n)
{
struct tcmsg *t = NLMSG_DATA(n);
struct rtattr *tail;
@@ -112,7 +112,7 @@ static int fw_parse_opt(struct filter_util *qu, char *handle, int argc, char **a
return 0;
}
-static int fw_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle)
+static int fw_print_opt(const struct filter_util *qu, FILE *f, struct rtattr *opt, __u32 handle)
{
struct rtattr *tb[TCA_FW_MAX+1];