fix(ifwait): match over strings and not symbols

Are they the same in Fennel?

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-09-01 02:13:36 +02:00
parent 6f04012235
commit dec3c904f6

View file

@ -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}