From 27f35e56b4bb3467705e5afa7f7f24e5b3997140 Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Tue, 27 Jun 2017 23:49:24 +0200
Subject: [PATCH] gluon-core: add interfaces having proto = gluon_mesh to mesh
 firewall zone

Based-on-patch-by: Christof Schulze <christof.schulze@gmx.net>
---
 package/gluon-core/files/lib/netifd/proto/gluon_mesh.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/gluon-core/files/lib/netifd/proto/gluon_mesh.sh b/package/gluon-core/files/lib/netifd/proto/gluon_mesh.sh
index 6f878d3db..52d6abec7 100755
--- a/package/gluon-core/files/lib/netifd/proto/gluon_mesh.sh
+++ b/package/gluon-core/files/lib/netifd/proto/gluon_mesh.sh
@@ -28,6 +28,7 @@ proto_gluon_mesh_setup() {
 	proto_add_data
 	json_add_boolean fixed_mtu "$FIXED_MTU"
 	json_add_boolean transitive "$TRANSITIVE"
+	[ "$IFNAME" != 'br-wan' ] && json_add_string zone 'mesh'
 	proto_close_data
 	proto_send_update "$CONFIG"
 
-- 
GitLab