From f0b4e826cb32f5a66b67bc002b2753ffa8c285dc Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sun, 1 Sep 2024 02:13:36 +0200 Subject: [PATCH] fix(ifwait): match over strings and not symbols Are they the same in Fennel? Signed-off-by: Raito Bezarius --- pkgs/ifwait/ifwait.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/ifwait/ifwait.fnl b/pkgs/ifwait/ifwait.fnl index 52122bd..f835ebb 100644 --- a/pkgs/ifwait/ifwait.fnl +++ b/pkgs/ifwait/ifwait.fnl @@ -19,10 +19,10 @@ (match v ;; - up: Reflects the administrative state of the interface (IFF_UP) ;; - running: Reflects the operational state (IFF_RUNNING). - {:event "newlink" :name params.link :up :yes :running :yes} + {:event "newlink" :name params.link :up "yes" :running "yes"} {:present true :up true :running true} - {:event "newlink" :name params.link :up :yes} + {:event "newlink" :name params.link :up "yes"} {:present true :up true} {:event "newlink" :name params.link}