note need to support >1 default route
This commit is contained in:
parent
3d5d1078c2
commit
8c34f9429e
@ -71,6 +71,10 @@
|
||||
"no" event))
|
||||
|
||||
{:event :newroute}
|
||||
;; XXX there may be >1 route to any given destination,
|
||||
;; (e.g wwan and wlan both have default route)
|
||||
;; we probably need to store all of them and
|
||||
;; distinguish by metric
|
||||
(tset routes (or event.dst "default") event)
|
||||
|
||||
{} (print :unhandled event.event)
|
||||
|
Loading…
Reference in New Issue
Block a user