summaryrefslogtreecommitdiffstats
path: root/networking-configuration
diff options
context:
space:
mode:
Diffstat (limited to 'networking-configuration')
-rwxr-xr-xnetworking-configuration2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking-configuration b/networking-configuration
index b9725c7..2cae396 100755
--- a/networking-configuration
+++ b/networking-configuration
@@ -23,7 +23,7 @@ main() {
listservers=$(cac_listservers)
config=$(echo $listservers \
- | jq -r ".data|map(select(.servername == \"$cac_servername\"))[]")
+ | jq -r ".[]|select(.servername==\"$cac_servername\")")
print_networking_configuraton "$config"
}