Skip to content

Commit

Permalink
Merge pull request libremesh#1037 from G10h4ck/small_cleaning
Browse files Browse the repository at this point in the history
Small cleaning
  • Loading branch information
ilario authored Oct 4, 2023
2 parents 4569fec + 6e909d1 commit 9f8754b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 2 additions & 0 deletions packages/lime-system/files/usr/lib/lua/lime/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,8 @@ function utils.is_valid_mac(string)
end
end

--! TODO: Better having a C strcmp/memcmp like behavior so the output can be
--! used for sorting beyond determining equality
function utils.deepcompare(t1,t2)
if t1 == t2 then return true end
local ty1 = type(t1)
Expand Down
13 changes: 6 additions & 7 deletions packages/shared-state-network_nodes/Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
#
# Copyright (C) 2020 German Ferrero <germanferrero@altermundi.net>
# Copyright (C) 2020-2023 Asociacion Civil Altermundi <info@altermundi.net>
#
# This is free software, licensed under the GNU General Public License v3.
# This is free software, licensed under the GNU Affero General Public License v3.
#

include ../../libremesh.mk

define Package/$(PKG_NAME)
SECTION:=utils
CATEGORY:=Utilities
TITLE:=$(PKG_NAME) provides shared state database of all times network nodes
MAINTAINER:=Germán Ferrero <[email protected]>
CATEGORY:=LibreMesh
TITLE:=$(PKG_NAME) provides data-type for network nodes marked as reliable by user
MAINTAINER:=Asociacion Civil Altermundi <[email protected]>
DEPENDS:=+shared-state +shared-state-nodes_and_links +lime-system +luci-lib-jsonc \
+libubus-lua +random-numgen
PKGARCH:=all
endef

define Package/$(PKG_NAME)/description
This $(PKG_NAME) provides shared state database of all times network nodes.
Provides data-type for network nodes marked as reliable by user via lime-app
endef

$(eval $(call BuildPackage,$(PKG_NAME)))

0 comments on commit 9f8754b

Please sign in to comment.