[sheepdog] [PATCH] Add command line option for binding to a specified interface.
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Fri Sep 28 07:28:01 CEST 2012
At Thu, 27 Sep 2012 06:35:24 -0700,
Bryan D. Payne wrote:
>
> Currently sheep will try to bind to all interfaces. This patch
> provides a command line option allowing you to specify the ip address
> of the interface where you could like sheep to bind. If you don't
> provide this option, sheep continues binding to all interfaces as
> usual.
>
>
> Signed-off-by: Bryan D. Payne <bdpayne at acm.org>
> ---
> include/net.h | 3 ++-
> lib/net.c | 5 +++--
> sheep/request.c | 4 ++--
> sheep/sheep.c | 23 +++++++++++++++++++++--
> sheep/sheep_priv.h | 2 +-
> 5 files changed, 29 insertions(+), 8 deletions(-)
Nice work, but this patch has many style problems. Can you run
./script/checkpatch.pl and fix the errors?
Thanks,
Kazutaka
More information about the sheepdog
mailing list