forked from DGNum/liminix
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:
parent
ca9642a61e
commit
f0b4e826cb
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue