Control: tag -1 pending Hi Christian,
On Fri, 27 Apr 2018 at 10:22:55 +0200, Christian Ehrhardt wrote: > It realizes no more options are there and then ends at > } else if (argv[0] && argv[1]) { > host = argv[0]; > uport = &argv[1]; > if (pflag || sflag) > usage(1); > > Thereby this check doesn't allow slfag/pflag along with "two arg usage" Oops the regression was introduced in https://salsa.debian.org/debian/netcat-openbsd/commit/2ebffb014c830e49f6fad600c59cc1b82fe356a4 following an attempt to close #861062 and allow -s/-p to specify the destination in listen mode, rather than via non-optional parameter(s). Thus -s and -p should be allowed when the destination is given via 2 non-optional parameters; but only if -l is unset. Fixed in https://salsa.debian.org/debian/netcat-openbsd/commit/338b1fa7c3db9bd791095f51325b3287330dac7d Cheers, -- Guilhem.
signature.asc
Description: PGP signature