Fix binding of the cli to the configured address

We used to read the configuration file /after/ binding the cli. Fix that.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
Benjamin Cama 2012-01-30 00:16:41 +01:00
parent e7d32f2da8
commit bceebb9a9d
3 changed files with 13 additions and 12 deletions

View file

@ -911,7 +911,7 @@ void become_master(void); // We're the master; kick off any required master init
// cli.c
void init_cli();
void cli_init_hostname(char *hostname);
void cli_init_complete(char *hostname);
void cli_do_file(FILE *fh);
void cli_do(int sockfd);
int cli_arg_help(struct cli_def *cli, int cr_ok, char *entry, ...);