diff options
author | R. Christian McDonald <rcm@rcm.sh> | 2023-08-08 18:40:02 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2023-08-16 15:04:04 +0000 |
commit | 31d385e78eba5d0fd8a3d13fde86e345917a2588 (patch) | |
tree | 6b45cbb9c7ad94f7d6213215a31eac2d005bfcbf | |
parent | 07cbc2f943ff32bee33c4405903795d5545d57ea (diff) | |
download | src-31d385e78eba5d0fd8a3d13fde86e345917a2588.tar.gz src-31d385e78eba5d0fd8a3d13fde86e345917a2588.zip |
-rw-r--r-- | sbin/ping/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ping/main.c b/sbin/ping/main.c index 2f94b5d3227d..bfe19e0ff442 100644 --- a/sbin/ping/main.c +++ b/sbin/ping/main.c @@ -102,7 +102,7 @@ main(int argc, char *argv[]) */ if (inet_pton(AF_INET, optarg, &a) == 1) ipv4 = true; - else if (inet_pton(AF_INET6, optarg, &a) == 1) + else if (inet_pton(AF_INET6, optarg, &a6) == 1) ipv6 = true; break; #endif |