From 5af8d88c70e7b2bec9e64eb27baa890c0a928ba9 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 24 Jul 2017 17:21:22 +0100 Subject: [PATCH] bin/ovh-api --- bin/ovh-api | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ovh-api b/bin/ovh-api index 231ca9ed..1ff77ec5 100755 --- a/bin/ovh-api +++ b/bin/ovh-api @@ -130,7 +130,7 @@ sub ip_routed { my $frontend = query("/ipLoadbalancing/ip-$ip/frontend/$frontend_id") or exit 9; #next if $frontend->{defaultBackendId}; - next if $frontend->{disabled} ne 'false'; + next if $frontend->{disabled} !~ /^(0|false)$/; my $farms = query("/ipLoadbalancing/ip-$ip/".$frontend->{type}."/farm") or exit 9; for my $farm_id (@$farms) { -- 2.47.3