Skip to content
Snippets Groups Projects
Commit 41ef4182 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Bind to the secondary port.

parent 51e29007
No related merge requests found
......@@ -533,7 +533,7 @@ mod_init(void)
if (cfg.secondary_port != 0) {
static struct coio_service secondary;
coio_service_init(&secondary, "secondary",
cfg.bind_ipaddr, cfg.primary_port,
cfg.bind_ipaddr, cfg.secondary_port,
iproto_interact, iproto_secondary_port_handler);
evio_service_start(&secondary.evio_service);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment