]> git.nbdom.net Git - nb.git/commitdiff
bin/ovh-api
authorDevops <sys@15gifts.com>
Wed, 5 Jul 2017 11:20:37 +0000 (12:20 +0100)
committerDevops <sys@15gifts.com>
Wed, 5 Jul 2017 11:20:37 +0000 (12:20 +0100)
bin/ovh-api

index f2d6176f10bf93e56d8336124312c352195b9561..7edfb3d4b2d87f8db155059dea8f69fc6488e44c 100755 (executable)
@@ -116,6 +116,8 @@ sub ip_routed {
 
   }
 
+  my %dbl;
+  @routed = grep {!$dbl{$_}++} @routed;
   return wantarray ? @routed : \@routed;
 }