summaryrefslogtreecommitdiff
path: root/src/set.c
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-10-10 15:15:28 -0700
committerslioch <slioch@eng-140.vyatta.com>2009-10-10 15:15:28 -0700
commit3d86f968326b46d1f78ac208f383232d1bdb8408 (patch)
tree9e9d3897e6652e6475d110405353cfaa7ad6f55e /src/set.c
parent6e318082cb9cbc01924159a051ae67feac20dea5 (diff)
parent57df09cb4db21978d42d2dd88ce3acef2f7c170a (diff)
downloadvyatta-cfg-3d86f968326b46d1f78ac208f383232d1bdb8408.tar.gz
vyatta-cfg-3d86f968326b46d1f78ac208f383232d1bdb8408.zip
Merge branch 'kenwood' of http://git.vyatta.com/vyatta-cfg into kenwood
Diffstat (limited to 'src/set.c')
-rw-r--r--src/set.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/set.c b/src/set.c
index 195beeb..9be3fc8 100644
--- a/src/set.c
+++ b/src/set.c
@@ -109,6 +109,9 @@ int main(int argc, char **argv)
boolean need_mod = FALSE, not_new = FALSE;
boolean empty_val = FALSE;
+ /* this is needed before calling certain glib functions */
+ g_type_init();
+
cli_operation_name = "Set";
if (initialize_output() == -1) {