From: Krisztian Litkey Date: Mon, 10 Dec 2012 22:43:17 +0000 (+0200) Subject: console: use unix domain socket by default. X-Git-Tag: accepted/2.0alpha/20121211.005056~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43564d29f19efae45c991d5ff29f943c7f353083;p=profile%2Fivi%2Fmurphy.git console: use unix domain socket by default. --- diff --git a/src/console-client/client.c b/src/console-client/client.c index 9fa9749..e6af9fa 100644 --- a/src/console-client/client.c +++ b/src/console-client/client.c @@ -46,7 +46,7 @@ #define client_error mrp_log_error #define DEFAULT_PROMPT "murphy" -#define DEFAULT_ADDRESS "tcp4:127.0.0.1:3000" +#define DEFAULT_ADDRESS "unxs:@murphy-console" /* diff --git a/src/plugins/plugin-console.c b/src/plugins/plugin-console.c index 46e74d0..7ffe5bc 100644 --- a/src/plugins/plugin-console.c +++ b/src/plugins/plugin-console.c @@ -397,7 +397,7 @@ static int console_init(mrp_plugin_t *plugin) if (!strncmp(data->address, "tcp4:", 5) || !strncmp(data->address, "tcp6:", 5) || - !strncmp(data->address, "unxstrm:", 8)) + !strncmp(data->address, "unxs:", 5)) ok = strm_setup(data); else ok = dgrm_setup(data); @@ -438,7 +438,7 @@ static void console_exit(mrp_plugin_t *plugin) static mrp_plugin_arg_t console_args[] = { - MRP_PLUGIN_ARGIDX(ARG_ADDRESS, STRING, "address", "tcp4:127.0.0.1:3000"), + MRP_PLUGIN_ARGIDX(ARG_ADDRESS, STRING, "address", "unxs:@murphy-console"), }; MURPHY_REGISTER_CORE_PLUGIN("console",