From 1c76ec92eb4968108da334414a5b1aae241949c1 Mon Sep 17 00:00:00 2001 From: tunnelpr0 <61991283+tunnelpr0@users.noreply.github.com> Date: Fri, 12 Nov 2021 19:16:11 +0100 Subject: [PATCH 1/2] enhancement: add IPv6 support to check plugin --- check_teamspeak3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check_teamspeak3 b/check_teamspeak3 index e4d3b9d..99664dc 100755 --- a/check_teamspeak3 +++ b/check_teamspeak3 @@ -19,6 +19,7 @@ use strict; use warnings; use IO::Socket; +use IO::Socket::IP; use IO::Socket::Timeout; sub usage_die() @@ -44,7 +45,7 @@ if (not defined $timeout) } # prepare the UDP connection -my $ts3_sock = IO::Socket::INET->new( +my $ts3_sock = IO::Socket::IP->new( Proto => 'udp', PeerPort => $port, PeerAddr => $host, From 36dd9e67ca7e02a20976062b82fa811068b00b40 Mon Sep 17 00:00:00 2001 From: tunnelpr0 <61991283+tunnelpr0@users.noreply.github.com> Date: Fri, 12 Nov 2021 19:29:13 +0100 Subject: [PATCH 2/2] bumped version to 0.2 --- check_teamspeak3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_teamspeak3 b/check_teamspeak3 index 99664dc..7ffa4a9 100755 --- a/check_teamspeak3 +++ b/check_teamspeak3 @@ -1,8 +1,8 @@ #!/usr/bin/perl -# Copyright 2016 XiCoN-FJS- @ fjs@xicon.de +# Copyright 2021 XiCoN-FJS- @ fjs@xicon.de # -# Version: 0.1 (2016-01-02) +# Version: 0.2 (2021-11-12) # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.