diff --git a/package/gluon-radv-filterd/src/gluon-radv-filterd.c b/package/gluon-radv-filterd/src/gluon-radv-filterd.c index 5fcab439..7525518c 100644 --- a/package/gluon-radv-filterd/src/gluon-radv-filterd.c +++ b/package/gluon-radv-filterd/src/gluon-radv-filterd.c @@ -167,11 +167,11 @@ static void cleanup(void) { if (G.chain) { /* Reset chain to accept everything again */ - if (fork_execvp_timeout(&timeout, "ebtables", (const char *[]) + if (fork_execvp_timeout(&timeout, "ebtables-tiny", (const char *[]) { "ebtables-tiny", "-F", G.chain, NULL })) DEBUG_MSG("warning: flushing ebtables chain %s failed, not adding a new rule", G.chain); - if (fork_execvp_timeout(&timeout, "ebtables", (const char *[]) + if (fork_execvp_timeout(&timeout, "ebtables-tiny", (const char *[]) { "ebtables-tiny", "-A", G.chain, "-j", "ACCEPT", NULL })) DEBUG_MSG("warning: adding new rule to ebtables chain %s failed", G.chain); } @@ -719,10 +719,10 @@ static void update_ebtables(void) { G.max_tq); G.best_router = router; - if (fork_execvp_timeout(&timeout, "ebtables", (const char *[]) + if (fork_execvp_timeout(&timeout, "ebtables-tiny", (const char *[]) { "ebtables-tiny", "-F", G.chain, NULL })) error_message(0, 0, "warning: flushing ebtables chain %s failed, not adding a new rule", G.chain); - else if (fork_execvp_timeout(&timeout, "ebtables", (const char *[]) + else if (fork_execvp_timeout(&timeout, "ebtables-tiny", (const char *[]) { "ebtables-tiny", "-A", G.chain, "-s", mac, "-j", "ACCEPT", NULL })) error_message(0, 0, "warning: adding new rule to ebtables chain %s failed", G.chain); }