On Thu, Sep 08, 2005 at 12:30:15PM -0400, Ballantyne, Ian wrote:
> Robert/Vladimir/all,
>
> Fails for the debian package version
>
> /usr/bin/flow-capture -i -w /var/flow/somedir-n 1439 -V 5
> 192.168.47.50/192.168.47.129/9120
>
> iidsdbsvr:~# /usr/bin/flow-capture: invalid option -- i
<snip>
> Can anyone who has built from source confirm or deny that -i works?
>
Looking into source code again: there is clearly a typo ('i' lies next to
'u' on keyboard) because -u option is parsed via getopt() but it is
processed as -i.
Attached (trivial) patch will fix the problem.
v.
--- flow-capture.c.orig Thu Sep 8 18:40:14 2005
+++ flow-capture.c Thu Sep 8 18:40:22 2005
@@ -350,7 +350,7 @@
ftv.set = 1;
break;
- case 'i': /* preserve inherited umask */
+ case 'u': /* preserve inherited umask */
preserve_umask = 1;
break;
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools