iproute2: NSS fixup for 6.11.0

Signed-off-by: Sean Khan <datapronix@protonmail.com>
(cherry picked from commit c4781eb3c1145282bc099ec2981cbaf66f3e455c)
This commit is contained in:
Sean Khan 2024-10-05 16:19:34 -04:00
parent 6590c095a7
commit 7feb6e4d7c

View File

@ -142,7 +142,7 @@
+ * print_nss_mirred()
+ * Print information related to nssmirred action.
+ */
+static int print_nss_mirred(const struct action_util *au, FILE * f, struct rtattr *arg)
+static int print_nss_mirred(const struct action_util *au, FILE *f, struct rtattr *arg)
+{
+ struct tc_nss_mirred *p;
+ struct rtattr *tb[TCA_NSS_MIRRED_MAX + 1];
@ -176,7 +176,7 @@
+ if (show_stats) {
+ if (tb[TCA_NSS_MIRRED_TM]) {
+ struct tcf_t *tm = RTA_DATA(tb[TCA_NSS_MIRRED_TM]);
+ print_tm(f,tm);
+ print_tm(tm);
+ }
+ }
+ return 0;