Add -p [address:]port option for binding to addresses, patch from

Max-Gerd Retzlaff

--HG--
extra : convert_revision : a9b0496634cdd25647b65e585cc3240f3fa699ee
This commit is contained in:
Matt Johnston
2007-02-22 14:52:46 +00:00
parent 46d53c37fa
commit 66643fa5c7
4 changed files with 60 additions and 19 deletions

View File

@@ -55,6 +55,7 @@ typedef struct svr_runopts {
/* ports is an array of the portcount listening ports */
char *ports[DROPBEAR_MAX_PORTS];
unsigned int portcount;
char *addresses[DROPBEAR_MAX_PORTS];
int inetdmode;