commit | c0d04310f3867cf48eadefe0ce01c4fc3eead036 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@gnumonks.org> | Tue Apr 05 18:33:24 2011 +0200 |
committer | Pablo Neira Ayuso <pablo@gnumonks.org> | Tue Apr 05 18:33:24 2011 +0200 |
tree | 85bca98debd7dbb80897b7f2e75aa1b9673ea365 | |
parent | 167281ec500cff6b0c00e47d1478359bc3f9c7d0 [diff] |
libcommon: socket: extend make_sock() prototype This patch extends the make_sock() prototype so you can fully set the fields priv_nr and data of the bsc_fd structure. This is the first step to get rid of the internal make_sock() implementation that ipaccess-proxy uses. This patch includes a minor cleanup to pass INADDR_ANY instead of zero, if you do not want to bind the socket to one specific address.