Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: schweikert/fping
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1bcca0095b37b8f7709b4b1328e3c60b6b40b718
Choose a base ref
..
head repository: schweikert/fping
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 358e61ce470fa30937794e93d77916dda70f5227
Choose a head ref
Showing with 3 additions and 8 deletions.
  1. +2 −1 CHANGELOG.md
  2. +1 −7 ci/test-06-options-f-h.pl
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,7 +3,8 @@ Next

## New features

- The -g, --generate option now also supports IPv6 addresses
- The -g, --generate option now also supports IPv6 addresses (#376,
thanks @auerswal)

fping 5.3 (2025-01-02)
======================
8 changes: 1 addition & 7 deletions ci/test-06-options-f-h.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w

use Test::Command tests => 152;
use Test::Command tests => 146;
use Test::More;
use File::Temp;

@@ -238,7 +238,6 @@
my $cmd = Test::Command->new(cmd => "fping -g 2001:db8:0:2:: 2001:db8:0:1:ffff:ffff:ffff:ffff");
$cmd->exit_is_num(1);
$cmd->stdout_is_eq("");
$cmd->stderr_is_eq("");
}

# fping -6 -g (range - IPv6)
@@ -302,7 +301,6 @@
my $cmd = Test::Command->new(cmd => "fping -t10 -r0 -i1 -g 2001:db8:1:2:3:4:5:6 2001:db8:1:2:3:4:5:7");
$cmd->exit_is_num(1);
$cmd->stdout_is_eq("2001:db8:1:2:3:4:5:6 is unreachable\n2001:db8:1:2:3:4:5:7 is unreachable\n");
$cmd->stderr_is_eq("");
}

# fping -g (range - unreachable documentation addresses - crossing 64 bit boundary)
@@ -316,7 +314,6 @@
2001:db8:1:2:ffff:ffff:ffff:ffff is unreachable
2001:db8:1:3:: is unreachable
2001:db8:1:3::1 is unreachable\n");
$cmd->stderr_is_eq("");
}

# fping -g (range - too many addresses - lower 64 bit)
@@ -446,7 +443,6 @@
my $cmd = Test::Command->new(cmd => "fping -t10 -r0 -g 2001:db8:abcd:1234:5678:9098:7654:4321/128");
$cmd->exit_is_num(1);
$cmd->stdout_is_eq("2001:db8:abcd:1234:5678:9098:7654:4321 is unreachable\n");
$cmd->stderr_is_eq("");
}

# fping -g (CIDR - IPv6 - unreachable documentation addresses - point-to-point prefix)
@@ -457,7 +453,6 @@
my $cmd = Test::Command->new(cmd => "fping -t10 -r0 -g 2001:db8:abcd:1234:5678:9098:7654:4320/127");
$cmd->exit_is_num(1);
$cmd->stdout_is_eq("2001:db8:abcd:1234:5678:9098:7654:4320 is unreachable\n2001:db8:abcd:1234:5678:9098:7654:4321 is unreachable\n");
$cmd->stderr_is_eq("");
}

# fping -g (CIDR - IPv6 - unreachable documentation addresses - normal prefix)
@@ -470,7 +465,6 @@
$cmd->stdout_is_eq("2001:db8:abcd:1234:5678:9098:7654:4321 is unreachable
2001:db8:abcd:1234:5678:9098:7654:4322 is unreachable
2001:db8:abcd:1234:5678:9098:7654:4323 is unreachable\n");
$cmd->stderr_is_eq("");
}

# fping -g (CIDR - IPv6 - prefix too short)