summaryrefslogtreecommitdiffstats
path: root/tc/m_vlan.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/m_vlan.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/m_vlan.c')
-rw-r--r--tc/m_vlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tc/m_vlan.c b/tc/m_vlan.c
index c1dc8b4..40d62fa 100644
--- a/tc/m_vlan.c
+++ b/tc/m_vlan.c
@@ -56,7 +56,7 @@ static void unexpected(const char *arg)
explain();
}
-static int parse_vlan(struct action_util *a, int *argc_p, char ***argv_p,
+static int parse_vlan(const struct action_util *a, int *argc_p, char ***argv_p,
int tca_id, struct nlmsghdr *n)
{
int argc = *argc_p;
@@ -227,7 +227,7 @@ static int parse_vlan(struct action_util *a, int *argc_p, char ***argv_p,
return 0;
}
-static int print_vlan(struct action_util *au, FILE *f, struct rtattr *arg)
+static int print_vlan(const struct action_util *au, FILE *f, struct rtattr *arg)
{
SPRINT_BUF(b1);
struct rtattr *tb[TCA_VLAN_MAX + 1];