gluon-mesh-batman-adv: use new gluon.site library to avoid 'or {}' syntax

This commit is contained in:
Matthias Schiffer 2017-08-08 13:51:54 +02:00
parent 951f62ac85
commit 12ec6ab2bc
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
local client_bridge = require 'gluon.client_bridge'
local site = require 'gluon.site_config'
local next_node = site.next_node or {}
local site = require 'gluon.site'
local next_node = site.next_node({})
local macaddr = client_bridge.next_node_macaddr()