From: Devops Date: Wed, 5 Jul 2017 11:20:37 +0000 (+0100) Subject: bin/ovh-api X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=e70d22f035de481dc2e3f911b50652890b61b930;p=nb.git bin/ovh-api --- diff --git a/bin/ovh-api b/bin/ovh-api index f2d6176f..7edfb3d4 100755 --- a/bin/ovh-api +++ b/bin/ovh-api @@ -116,6 +116,8 @@ sub ip_routed { } + my %dbl; + @routed = grep {!$dbl{$_}++} @routed; return wantarray ? @routed : \@routed; }