gluon-radv-filterd: correct call to ebtables-tiny
Fixes: 8e5abf02ae ("treewide: switch to ebtables-tiny")
			
			
This commit is contained in:
		
							parent
							
								
									a2eb50e0e6
								
							
						
					
					
						commit
						3519f4e61b
					
				| @ -167,11 +167,11 @@ static void cleanup(void) { | |||||||
| 
 | 
 | ||||||
| 	if (G.chain) { | 	if (G.chain) { | ||||||
| 		/* Reset chain to accept everything again */ | 		/* 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 })) | 				{ "ebtables-tiny", "-F", G.chain, NULL })) | ||||||
| 			DEBUG_MSG("warning: flushing ebtables chain %s failed, not adding a new rule", G.chain); | 			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 })) | 				{ "ebtables-tiny", "-A", G.chain, "-j", "ACCEPT", NULL })) | ||||||
| 			DEBUG_MSG("warning: adding new rule to ebtables chain %s failed", G.chain); | 			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.max_tq); | ||||||
| 	G.best_router = router; | 	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 })) | 			{ "ebtables-tiny", "-F", G.chain, NULL })) | ||||||
| 		error_message(0, 0, "warning: flushing ebtables chain %s failed, not adding a new rule", G.chain); | 		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 })) | 			{ "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); | 		error_message(0, 0, "warning: adding new rule to ebtables chain %s failed", G.chain); | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user