summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'options.c')
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.c b/options.c
index 37064c6..8cb11a8 100644
--- a/options.c
+++ b/options.c
@@ -231,6 +231,7 @@ void options_default(options_t* opt)
string_list_init(&opt->log_targets_);
opt->mode_ = MODE_MASTER;
+ opt->channel_ = CHAN_MAIN;
opt->conf_file_ = strdup("/etc/rhctl/switchctl.conf");
opt->command_sock_ = strdup("/var/run/rhctl/switchctl.sock");
opt->switch_dev_ = strdup("/dev/audioswitch");