Skip to content

iputils: ninfod minor changes

Jan Synacek netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ninfod: Call limit/drop_capabilities() and open_sock() after checking for -h or -v.ninfod/ninfod.c+8 -80 replies
2/2ninfod: Make -v exit correctly.ninfod/ninfod.c+5 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] iputils: ninfod minor changes

Functions limiting capabilities as well as opening a socket could have been called needlessly if ninfod was invoked with -h.

Also, ninfod incorrectly kept running if invoked with -v.

Jan Synacek (2):
ninfod: Call limit/drop_capabilities() and open_sock() after checking
for -h or -v.
ninfod: Make -v exit correctly.

 ninfod/ninfod.c | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)
Signature · 1 line
1.8.1