From 8e5590037def3b905cc5b3fcb25c940ea8579b6b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 13 Mar 2011 17:22:52 +0000 Subject: libs/core: add luci.model.network.wifinet.id() --- libs/core/luasrc/model/network.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/core/luasrc') 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 -- cgit v1.2.3