mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes circular dependency between lua_utils and rest_utils
This commit is contained in:
parent
5842b14247
commit
48462f4d96
5 changed files with 618 additions and 355 deletions
|
|
@ -370,16 +370,6 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function starts(String,Start)
|
||||
if((String == nil) or (Start == nil)) then
|
||||
return(false)
|
||||
end
|
||||
|
||||
return string.sub(String,1,string.len(Start))==Start
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function isBroadMulticast(ip)
|
||||
if(ip == "0.0.0.0") then
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue