libs/core: add luci.model.network.wifinet.id()
This commit is contained in:
parent
bc6e9ec07e
commit
8e5590037d
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue