Set hostname /after/ having read the config file.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
parent
bf41bf2eac
commit
0b06de8105
3 changed files with 19 additions and 15 deletions
3
l2tpns.h
3
l2tpns.h
|
|
@ -907,7 +907,8 @@ void become_master(void); // We're the master; kick off any required master init
|
|||
|
||||
|
||||
// cli.c
|
||||
void init_cli(char *hostname);
|
||||
void init_cli();
|
||||
void cli_init_hostname(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, ...);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue