ntop / n2n

Peer-to-peer VPN
GNU General Public License v3.0
6.18k stars 930 forks source link

Refactoring management code to increase sharing #983

Closed hamishcoleman closed 2 years ago

hamishcoleman commented 2 years ago

There is still plenty of room to increase sharing, but this work in progress has been too long sitting on my hard drive and should be shared.

A major intended aim of this is to make adding pubsub features to the supernode simply a case of adding some data structures and using the shared functions.

codecov-commenter commented 2 years ago

Codecov Report

Merging #983 (ddf9bd8) into dev (f3e305b) will increase coverage by 0.07%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##              dev     #983      +/-   ##
==========================================
+ Coverage   20.53%   20.60%   +0.07%     
==========================================
  Files          42       43       +1     
  Lines        8528     8499      -29     
==========================================
  Hits         1751     1751              
+ Misses       6777     6748      -29     
Impacted Files Coverage Δ
src/edge_management.c 0.00% <0.00%> (ø)
src/management.c 0.00% <0.00%> (ø)
src/sn_management.c 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f3e305b...ddf9bd8. Read the comment docs.