net-analyzer/monitoring-plugins: make 'check_ping -4' call 'ping -4'
authorLouis Sautier <sbraz@gentoo.org>
Wed, 27 Feb 2019 11:21:43 +0000 (12:21 +0100)
committerLouis Sautier <sbraz@gentoo.org>
Sun, 3 Mar 2019 00:51:00 +0000 (01:51 +0100)
commit31cbd149b087f323dd75bd0c4db9fefae47a084b
tree74f37529b2c9dc77a62cbb111a5bc56f0ce46b50
parent61f955aad03c22077d6e842bc3201365263c6bb4
net-analyzer/monitoring-plugins: make 'check_ping -4' call 'ping -4'

Currently, when calling 'check_ping -4' on a host that has both A and AAAA
records, the AAAA record is used. This is because the IPv4 ping command
is set to 'ping' at configure-time, when it should be 'ping -4'.

For consistency, this commit also changes the IPv6 ping command from
'ping6' to 'ping -6'.

The upstream issue is
https://github.com/monitoring-plugins/monitoring-plugins/issues/898.
Changing the ping command at configure-time was proposed in
https://github.com/monitoring-plugins/monitoring-plugins/pull/1531.

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/11169
net-analyzer/monitoring-plugins/monitoring-plugins-2.2-r4.ebuild [new file with mode: 0644]