2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

[#64,!35] Restored work

Restored cummulative work.
This commit is contained in:
Thomas Markwalder
2019-11-22 13:39:45 -05:00
parent 97c155273c
commit 0cd94b5ef4
509 changed files with 33210 additions and 3719 deletions

View File

@@ -75,8 +75,10 @@ int execute_statements (result, packet, lease, client_state,
#if defined (DEBUG_EXPRESSIONS)
log_debug ("exec: statements returns %d", status);
#endif
if (!status)
if (!status) {
executable_statement_dereference (&r, MDL);
return 0;
}
break;
case on_statement:
@@ -147,6 +149,8 @@ int execute_statements (result, packet, lease, client_state,
on_star))) {
executable_statement_dereference
(&e, MDL);
executable_statement_dereference
(&r, MDL);
return 0;
}
executable_statement_dereference (&e, MDL);
@@ -176,8 +180,10 @@ int execute_statements (result, packet, lease, client_state,
(result, packet, lease, client_state,
in_options, out_options, scope,
rc ? r->data.ie.tc : r->data.ie.fc,
on_star))
on_star)) {
executable_statement_dereference (&r, MDL);
return 0;
}
break;
case eval_statement:
@@ -298,6 +304,7 @@ int execute_statements (result, packet, lease, client_state,
#if defined (DEBUG_EXPRESSIONS)
log_debug ("exec: break");
#endif
executable_statement_dereference (&r, MDL);
return 1;
case supersede_option_statement: