gluon-core: add interfaces having proto = gluon_mesh to mesh firewall zone

Based-on-patch-by: Christof Schulze <christof.schulze@gmx.net>
This commit is contained in:
Matthias Schiffer 2017-06-27 23:49:24 +02:00
parent e432dd4d9f
commit 27f35e56b4
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
1 changed files with 1 additions and 0 deletions

View File

@ -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"