mirror of
				https://github.com/KevinMidboe/mktxp-no-cli.git
				synced 2025-10-29 17:50:23 +00:00 
			
		
		
		
	fix correct filter path for IPv6 firewall
This commit is contained in:
		| @@ -63,7 +63,7 @@ class FirewallMetricsDataSource: | |||||||
|     def metric_records_ipv6(router_entry, metric_labels=None, raw=False, matching_only=True): |     def metric_records_ipv6(router_entry, metric_labels=None, raw=False, matching_only=True): | ||||||
|         metric_labels = metric_labels or [] |         metric_labels = metric_labels or [] | ||||||
|         try: |         try: | ||||||
|             filter_path = '/ipv6/firewall/filter' if not raw else '/ip/firewall/raw' |             filter_path = '/ipv6/firewall/filter' if not raw else '/ipv6/firewall/raw' | ||||||
|             firewall_records = FirewallMetricsDataSource._get_records( |             firewall_records = FirewallMetricsDataSource._get_records( | ||||||
|                 router_entry, |                 router_entry, | ||||||
|                 filter_path, |                 filter_path, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user