summaryrefslogtreecommitdiffstats
path: root/tc/m_nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tc/m_nat.c')
-rw-r--r--tc/m_nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tc/m_nat.c b/tc/m_nat.c
index 95b3558..a3f86e1 100644
--- a/tc/m_nat.c
+++ b/tc/m_nat.c
@@ -76,7 +76,7 @@ bad_val:
}
static int
-parse_nat(struct action_util *a, int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n)
+parse_nat(const struct action_util *a, int *argc_p, char ***argv_p, int tca_id, struct nlmsghdr *n)
{
struct tc_nat sel = {};
@@ -136,7 +136,7 @@ skip_args:
}
static int
-print_nat(struct action_util *au, FILE * f, struct rtattr *arg)
+print_nat(const struct action_util *au, FILE * f, struct rtattr *arg)
{
struct tc_nat *sel;
struct rtattr *tb[TCA_NAT_MAX + 1];