From 87fbefd95043c24ccd3d5639a90721a5ed0b8267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Wed, 27 Jul 2022 07:34:39 +0200 Subject: interface: support "zone" config option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Many protocol handlers support "zone" option independently and they pass it in the "data". Then it's read e.g. by a firewall[34]. Add support for "zone" directly to the netifd so: 1. It works for all protocols 2. Handlers don't have to duplicate code Signed-off-by: Rafał Miłecki --- interface.h | 1 + 1 file changed, 1 insertion(+) (limited to 'interface.h') diff --git a/interface.h b/interface.h index 73a9070..9343ade 100644 --- a/interface.h +++ b/interface.h @@ -108,6 +108,7 @@ struct interface { const char *name; const char *device; + const char *zone; char *jail; char *jail_device; char *host_device; -- cgit v1.2.1