summaryrefslogtreecommitdiffstats
path: root/sbin/ping
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-02-08 05:07:50 +0000
committershin <shin@FreeBSD.org>2000-02-08 05:07:50 +0000
commita430a5bc0039feec5eab619494fd4fa2ee944a40 (patch)
tree751c1df3ceea3051da0070d4b9e25e3d0966b57b /sbin/ping
parentf1e607d935ef862a6c19c7264141bab332545d79 (diff)
downloadFreeBSD-src-a430a5bc0039feec5eab619494fd4fa2ee944a40.zip
FreeBSD-src-a430a5bc0039feec5eab619494fd4fa2ee944a40.tar.gz
ping -S option was missing from IPsec merge, so enable it again.
Approved by: jkh Submitted by: Matthew Reimer <mreimer@vpop.net>
Diffstat (limited to 'sbin/ping')
-rw-r--r--sbin/ping/ping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index a525b98..b08acaf 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -235,10 +235,10 @@ main(argc, argv)
datap = &outpack[8 + PHDR_LEN];
#ifndef IPSEC
- while ((ch = getopt(argc, argv, "I:LQRT:c:adfi:l:np:qrs:t:v")) != -1)
+ while ((ch = getopt(argc, argv, "I:LQRS:T:c:adfi:l:np:qrs:t:v")) != -1)
#else
#ifdef IPSEC_POLICY_IPSEC
- while ((ch = getopt(argc, argv, "I:LQRT:c:adfi:l:np:qrs:t:vP:")) != -1)
+ while ((ch = getopt(argc, argv, "I:LQRS:T:c:adfi:l:np:qrs:t:vP:")) != -1)
#endif /*IPSEC_POLICY_IPSEC*/
#endif
{
OpenPOWER on IntegriCloud