teach fiche about binding to a specific address

Add the -L <listen_addr> option which permits fiche to bind to a
specific local address rather than INADDR_ANY.
This commit is contained in:
Lars Kellogg-Stedman
2018-02-27 11:24:58 -05:00
parent 9206dce65f
commit 441debc4c7
4 changed files with 21 additions and 6 deletions

View File

@@ -43,6 +43,11 @@ typedef struct Fiche_Settings {
*/
char *output_dir_path;
/**
* @brief Address on which fiche is waiting for connections
*/
char *listen_addr;
/**
* @brief Port on which fiche is waiting for connections
*/