summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-03-31 09:12:44 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-03-31 09:12:44 -0700
commit14a59962a64209afbb652ea86209c215c902f8ca (patch)
treee1006c27cd5bcc8edea1e44914da807fafecc70c /src
parentb3c5fe4c1f871b932e25173b5a47e0702b2fa1dc (diff)
downloadvyatta-cfg-14a59962a64209afbb652ea86209c215c902f8ca.tar.gz
vyatta-cfg-14a59962a64209afbb652ea86209c215c902f8ca.zip
change noop to active for env variable--this is more consistent with the action being applied.
Diffstat (limited to 'src')
-rw-r--r--src/commit2.c2
-rw-r--r--src/common/defs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/commit2.c b/src/commit2.c
index 7f81850..0a332d2 100644
--- a/src/commit2.c
+++ b/src/commit2.c
@@ -376,7 +376,7 @@ process_func(GNode *node, gpointer data)
}
}
else {
- setenv(ENV_ACTION_NAME,ENV_ACTION_NOOP,1);
+ setenv(ENV_ACTION_NAME,ENV_ACTION_ACTIVE,1);
}
if (g_dump_actions == FALSE) {
diff --git a/src/common/defs.h b/src/common/defs.h
index d634b8c..5e110bc 100644
--- a/src/common/defs.h
+++ b/src/common/defs.h
@@ -14,7 +14,7 @@
#define ENV_ACTION_NAME "COMMIT_ACTION"
#define ENV_ACTION_DELETE "DELETE"
#define ENV_ACTION_SET "SET"
-#define ENV_ACTION_NOOP "NOOP"
+#define ENV_ACTION_ACTIVE "ACTIVE"
struct Result
{