summaryrefslogtreecommitdiffstats
path: root/contrib/netcat
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-06-27 07:07:55 +0000
committerru <ru@FreeBSD.org>2005-06-27 07:07:55 +0000
commit49d602bcb1eba547fdc15540603f3f9303f3418a (patch)
tree35c18b7681e5c66e7d2e65ea85d96f0f9afd4ca6 /contrib/netcat
parent6ff738eb1b2f522ff23fc8f006190af135f3f869 (diff)
downloadFreeBSD-src-49d602bcb1eba547fdc15540603f3f9303f3418a.zip
FreeBSD-src-49d602bcb1eba547fdc15540603f3f9303f3418a.tar.gz
Fix markup in local FreeBSD additions.
Approved by: re (blanket manpages)
Diffstat (limited to 'contrib/netcat')
-rw-r--r--contrib/netcat/nc.118
1 files changed, 13 insertions, 5 deletions
diff --git a/contrib/netcat/nc.1 b/contrib/netcat/nc.1
index ec88aee..42bd791 100644
--- a/contrib/netcat/nc.1
+++ b/contrib/netcat/nc.1
@@ -37,7 +37,7 @@
.Nm nc
.Bk -words
.Op Fl 46DEdhklnorStUuvz
-.Op Fl e Ar IPsec policy
+.Op Fl e Ar IPsec_policy
.Op Fl i Ar interval
.Op Fl p Ar source_port
.Op Fl s Ar source_ip_address
@@ -103,8 +103,12 @@ Prints out
.Nm
help.
.It Fl E
-Shortcut for "-e 'in ipsec esp/transport//require' -e 'out ipsec
-esp/transport//require'", which enables IPsec ESP transport mode in both
+Shortcut for
+.Qo
+.Li "-e 'in ipsec esp/transport//require'"
+.Li "-e 'out ipsec esp/transport//require'"
+.Qc ,
+which enables IPsec ESP transport mode in both
directions.
.It Fl e
If IPsec support is available, then one can specify the IPsec policies
@@ -384,10 +388,14 @@ Open a UDP connection to port 53 of hostname:
.Pp
Open a TCP connection to port 42 of example.host using 10.1.2.3 as the
IP for the local end of the connection:
-.It Li "nc -E example.host 42"
+.Pp
+.Dl "nc -E example.host 42"
+.Pp
Open a TCP connection to port 42 of example.host using IPsec ESP for
incoming and outgoing traffic.
-.It Li "nc -e 'out ipsec esp/transport//require' example.host 42"
+.Pp
+.Dl "nc -e 'out ipsec esp/transport//require' example.host 42"
+.Pp
Open a TCP connection to port 42 of example.host using IPsec ESP for
outgoing traffic only.
.Pp
OpenPOWER on IntegriCloud