diff mbox

iproute2: fix calling up the xt action

Message ID alpine.LNX.2.01.1112312317590.24158@frira.zrqbmnf.qr
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Jan Engelhardt Dec. 31, 2011, 10:18 p.m. UTC
From: Jan Engelhardt <jengelh@medozas.de>
Date: 2011-06-01 00:52:07+0200
Upsteam: has not been sent yet

Requesting the xt action never succeeded because it registered
using the wrong name.

---
 tc/m_xt.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

Index: iproute2-2.6.37/tc/m_xt.c
===================================================================
--- iproute2-2.6.37.orig/tc/m_xt.c
+++ iproute2-2.6.37/tc/m_xt.c
@@ -343,8 +343,8 @@  print_ipt(struct action_util *au,FILE *
 	return 0;
 }
 
-struct action_util ipt_action_util = {
-        .id = "ipt",
+struct action_util xt_action_util = {
+        .id = "xt",
         .parse_aopt = parse_ipt,
         .print_aopt = print_ipt,
 };