Browse Source

Fix manager not passing -i option

pull/2762/head
SamHurwitz 4 years ago
parent
commit
72db525aac
1 changed files with 4 additions and 0 deletions
  1. 4
      src/manager.c

4
src/manager.c

@ -186,6 +186,10 @@ construct_command_line(struct manager_ctx *manager, struct server *server)
int len = strlen(cmd);
snprintf(cmd + len, BUF_SIZE - len, " -u");
}
if (manager->iface) {
int len = strlen(cmd);
snprintf(cmd + len, BUF_SIZE - len, " -i \"%s\"", manager->iface);
}
if (server->fast_open[0] == 0 && manager->fast_open) {
int len = strlen(cmd);
snprintf(cmd + len, BUF_SIZE - len, " --fast-open");

Loading…
Cancel
Save