v:address is nil if missing, but code expects an array

This commit is contained in:
Daniel Barlow
2024-07-27 17:40:32 +01:00
parent a9d1582b53
commit fe735408a1
2 changed files with 2 additions and 2 deletions

View File

@@ -27,6 +27,6 @@
dir (svc.open state-directory)]
(accumulate [addresses []
v (dir:events)]
(update-prefixes lan-device addresses (v:output "prefix") system))))
(update-prefixes lan-device addresses (or (v:output "prefix") []) system))))
{ : changes : run }