mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
analysis: shared networks to be linked list
This way memory is allocated only for items that are in use, and walking through shared network items is also more straightforward. As an unfortunate side effect in --perfdata output shared networks are no longer printed in reverse order. This should be a cosmetic issue. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
a237c11d5a
commit
ef5421ed05
8 changed files with 84 additions and 100 deletions
|
|
@ -1,3 +1,3 @@
|
|||
OK: Ranges - crit: 0 warn: 0 ok: 5; | range_crit=0 range_warn=0 range_ok=5 10.4.0.1_r=5;16;18;0;20 10.4.0.1_rt=0 10.3.0.1_r=9;16;18;0;20 10.3.0.1_rt=0 10.2.0.1_r=8;16;18;0;20 10.2.0.1_rt=0 10.1.0.1_r=10;16;18;0;20 10.1.0.1_rt=0 10.0.0.1_r=11;16;18;0;20 10.0.0.1_rt=0
|
||||
Shared nets - crit: 0 warn: 0 ok: 2; | snet_crit=0 snet_warn=0 snet_ok=2 'example2_s'=17;32;36;0;40 'example2_st'=0 'example1_s'=21;32;36;0;40 'example1_st'=0
|
||||
Shared nets - crit: 0 warn: 0 ok: 2; | snet_crit=0 snet_warn=0 snet_ok=2 'example1_s'=21;32;36;0;40 'example1_st'=0 'example2_s'=17;32;36;0;40 'example2_st'=0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue