diff options
author | Maciej Żenczykowski <maze@google.com> | 2019-01-12 17:47:47 -0800 |
---|---|---|
committer | Maciej Żenczykowski <maze@google.com> | 2019-01-25 16:13:25 -0800 |
commit | d9c0d71b6809be7ea93dc39909b858f3bace29b1 (patch) | |
tree | 79130ba07dc29b04a705d25a6234ae65129dc5ab | |
parent | 65ec68d11846edb15ba60acb053a8a7285e5b18d (diff) | |
download | iproute2-d9c0d71b6809be7ea93dc39909b858f3bace29b1.tar.gz |
iproute2: support actions besides mirred
(probably not useful without rest of patch series)
Bug: 65674744
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ic6e7afd98b0980db87d7eb2b33ce08d720cfbf1c
-rw-r--r-- | tc/m_action.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tc/m_action.c b/tc/m_action.c index e8c94e57..07e07457 100644 --- a/tc/m_action.c +++ b/tc/m_action.c @@ -29,9 +29,6 @@ #include "tc_util.h" static struct action_util *action_list; -#ifdef ANDROID -extern struct action_util mirred_action_util; -#endif #ifdef CONFIG_GACT int gact_ld; /* f*ckin backward compatibility */ @@ -88,14 +85,6 @@ static int parse_noaopt(struct action_util *au, int *argc_p, char ***argv_p, int static struct action_util *get_action_kind(char *str) { -#ifdef ANDROID - if (!strcmp(str, "mirred")) { - return &mirred_action_util; - } else { - fprintf(stderr, "Android does not support action '%s'", str); - return NULL; - } -#endif static void *aBODY; void *dlh; char buf[256]; |