diff options
| author | Pietro Cerutti <gahr@FreeBSD.org> | 2023-08-17 11:42:23 +0000 |
|---|---|---|
| committer | Pietro Cerutti <gahr@FreeBSD.org> | 2023-08-28 10:58:17 +0000 |
| commit | d4b3aefdf94fe401f6bfc93a33b69e21dd7a634a (patch) | |
| tree | bce43b2446cb8cd8f2db1385d2490ab647cc4da6 /sys/dev/netmap/netmap_generic.c | |
| parent | e4e11c1d07f5d58ff8cf4e07ac8f61eecbbb5417 (diff) | |
netcat: add --crlf to convert LF into CRLF
This adds the --crlf option to netcat, which triggers translation of \n
characters into \r\n sequences in the input -> network direction.
The Linux version of nc also supports this functionality with --crlf and
-C. The OpenBSD version uses -C to specify client certificates. Our
version is too old and doesn't have it, but I avoided adding -C anyway
to ease future syncs with upstream.
Attempts to upstream the feature were unsuccessful:
https://marc.info/?t=169282068500001
Differential Revision: https://reviews.freebsd.org/D41489
Diffstat (limited to 'sys/dev/netmap/netmap_generic.c')
0 files changed, 0 insertions, 0 deletions
