diff options
Diffstat (limited to 'libs/core/luasrc')
-rw-r--r-- | libs/core/luasrc/model/network.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/core/luasrc/model/network.lua b/libs/core/luasrc/model/network.lua index 128786df98..56597a2855 100644 --- a/libs/core/luasrc/model/network.lua +++ b/libs/core/luasrc/model/network.lua @@ -1121,6 +1121,10 @@ function wifinet.network(self) return uci_s:get("wifinet", self.sid, "network") end +function wifinet.id(self) + return self.netid +end + function wifinet.name(self) return self.sid end |