mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
output: shared net can be in suppressed state
Avoid calling abort() when this very unlikely situation happens.
Reference: 48962004b8
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
242c58f45e
commit
b2c764924b
1 changed files with 2 additions and 0 deletions
|
|
@ -1022,6 +1022,8 @@ static int output_alarming(struct conf_t *state)
|
|||
for (shared_p = state->shared_net_root->next; shared_p; shared_p = shared_p->next) {
|
||||
shnet_output_helper(state, &oh, shared_p);
|
||||
switch (oh.status) {
|
||||
case STATUS_SUPPRESSED:
|
||||
break;
|
||||
case STATUS_IGNORED:
|
||||
si++;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue