diff --git a/pkg/probe/vpn_ipsec.go b/pkg/probe/vpn_ipsec.go index f9416d7..0a4f75e 100644 --- a/pkg/probe/vpn_ipsec.go +++ b/pkg/probe/vpn_ipsec.go @@ -51,14 +51,7 @@ func probeVPNIPSec(c http.FortiHTTP, meta *TargetMetadata) ([]prometheus.Metric, m := []prometheus.Metric{} for _, v := range res { - for _, i := range v.Results { - /* - type 'dialup' seems to be client vpn. - Not sure exactly what the difference is between probeVPNSsl - */ - if i.Type == "dialup" { - continue - } + for _, i := range v.Results { for _, t := range i.ProxyID { s := 0.0 if t.Status == "up" {