diff options
author | slioch <slioch@eng-140.vyatta.com> | 2009-02-27 20:49:57 -0800 |
---|---|---|
committer | slioch <slioch@eng-140.vyatta.com> | 2009-02-27 20:49:57 -0800 |
commit | 183f624fe155f518f97efc2883fc7894979950e1 (patch) | |
tree | b4a6ed243a0fedaccffabb740fed88cd058ca416 /src | |
parent | f0c5876c1203da45081d588fa2daf6b034281cba (diff) | |
download | vyatta-cfg-183f624fe155f518f97efc2883fc7894979950e1.tar.gz vyatta-cfg-183f624fe155f518f97efc2883fc7894979950e1.zip |
fixed node walk for delete of nodes--error introduced when adding ordering indirection for actions in commit head.
Bug found when review policy_bgp regression failure.
Diffstat (limited to 'src')
-rw-r--r-- | src/commit2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit2.c b/src/commit2.c index 4c0c342..858cf90 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -727,7 +727,7 @@ process_priority_node(GNode *priority_node) int i; for (i = 0; i < top_act; ++i) { int order; - if (i != delete_act) { + if (delete_act != ActionOrder[i]) { order = G_PRE_ORDER; } else { @@ -783,7 +783,7 @@ enclosing_process_func(GNode *node, gpointer data) int i; for (i = 0; i < top_act; ++i) { int order; - if (i != delete_act) { + if (delete_act != ActionOrder[i]) { order = G_PRE_ORDER; } else { |